Skip to content

Commit

Permalink
#128 #129 Added compile dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Biacode committed Oct 3, 2019
1 parent ea11dc0 commit 687afd9
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
20 changes: 11 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ buildscript {
easymockVersion = '3.4'
sonarqubeVersion = '2.6'
vavrVersion = "0.9.0"
slf4jVersion = "1.7.25"
log4jVersion = "2.11.1"
slf4jVersion = "1.7.28"
log4jVersion = "2.12.1"
propDepsPluginVersion = '0.0.10.RELEASE'
}
repositories {
Expand Down Expand Up @@ -75,7 +75,7 @@ allprojects {
}

group = 'org.biacode.escommons'
version = '7.3.2_0.0.5-SNAPSHOT'
version = '7.3.2_0.0.6-SNAPSHOT'
sourceCompatibility = 1.8

configurations.all {
Expand Down Expand Up @@ -160,13 +160,10 @@ allprojects {
}

dependencies {
runtimeOnly "org.slf4j:log4j-over-slf4j:$slf4jVersion"
runtimeOnly "org.apache.logging.log4j:log4j-core:$log4jVersion"
runtimeOnly "org.apache.logging.log4j:log4j-api:$log4jVersion"
compile "org.elasticsearch.client:elasticsearch-rest-high-level-client:$elasticSearchVersion"
compile 'org.slf4j:slf4j-api'
implementation "org.springframework:spring-context"
implementation 'org.jetbrains.kotlin:kotlin-stdlib'
implementation 'org.slf4j:slf4j-api'
implementation "com.fasterxml.jackson.core:jackson-databind"
implementation "org.apache.commons:commons-lang3:$apacheCommonsLang3Version"
implementation "commons-io:commons-io:$apacheCommonsIoVersion"
Expand Down Expand Up @@ -201,6 +198,8 @@ project(':escommons-starter-core') {
compile project(':escommons-core')
compile project(':escommons-toolkit')
compile project(':escommons-persistence')
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
compile "org.apache.logging.log4j:log4j-to-slf4j:$log4jVersion"
implementation "org.springframework.boot:spring-boot-starter"
optional "org.springframework.boot:spring-boot-configuration-processor"
}
Expand All @@ -218,6 +217,8 @@ project(':escommons-test') {
compile "org.elasticsearch.plugin:transport-netty4-client:$elasticSearchVersion"
compile "org.codelibs.elasticsearch.lib:plugin-classloader:$elasticSearchVersion"
compile "org.codelibs.elasticsearch.module:analysis-common:$elasticSearchVersion"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
compile "org.apache.logging.log4j:log4j-to-slf4j:$log4jVersion"
implementation "junit:junit"
implementation "org.springframework:spring-test"
}
Expand Down Expand Up @@ -251,9 +252,10 @@ project(':escommons-example') {
apply plugin: "org.springframework.boot"

dependencies {
implementation "org.biacode.escommons:escommons-starter-core:$version"
compile project(":escommons-starter-core")
implementation "org.springframework.boot:spring-boot-starter-web"
testImplementation "org.biacode.escommons:escommons-test:$version"
runtimeOnly group: 'ch.qos.logback', name: 'logback-classic'
testCompile project(":escommons-test")
testImplementation "org.springframework:spring-test"
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
logging.level.root=info
logging.level.org.elasticsearch=debug
escommons.http.host=localhost
escommons.http.port=9200
11 changes: 11 additions & 0 deletions escommons-example/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>

<root level="debug">
<appender-ref ref="STDOUT"/>
</root>
</configuration>

0 comments on commit 687afd9

Please sign in to comment.