problem: gradle configuration warnings

This commit is contained in:
Igor Artamonov
2020-05-02 22:17:14 -04:00
parent ba2967f85f
commit 0f5c6c70a4

View File

@@ -18,7 +18,6 @@ plugins {
id 'java' id 'java'
id 'groovy' id 'groovy'
id 'idea' id 'idea'
id 'maven'
id 'application' id 'application'
id 'org.jetbrains.kotlin.jvm' version '1.3.70' id 'org.jetbrains.kotlin.jvm' version '1.3.70'
@@ -33,14 +32,14 @@ plugins {
group = 'io.emeraldpay.dshackle' group = 'io.emeraldpay.dshackle'
version = '0.7-SNAPSHOT' version = '0.7-SNAPSHOT'
targetCompatibility = '1.8' targetCompatibility = '11'
sourceCompatibility = '1.8' sourceCompatibility = '11'
repositories { repositories {
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()
maven { url "http://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/milestone" } maven { url "https://repo.spring.io/milestone" }
maven { url "https://dl.bintray.com/infinitape/etherjar" } maven { url "https://dl.bintray.com/infinitape/etherjar" }
maven { url "https://dl.bintray.com/emerald/emerald-grpc" } maven { url "https://dl.bintray.com/emerald/emerald-grpc" }
} }
@@ -53,79 +52,83 @@ configurations {
} }
dependencies { dependencies {
compile "io.emeraldpay:emerald-grpc:0.6.0-0.2" implementation "io.emeraldpay:emerald-grpc:0.6.0-0.2"
compile "io.grpc:grpc-protobuf:${grpcVersion}" implementation "io.grpc:grpc-protobuf:${grpcVersion}"
compile "io.grpc:grpc-stub:${grpcVersion}" implementation "io.grpc:grpc-stub:${grpcVersion}"
compile "io.grpc:grpc-netty:${grpcVersion}" implementation "io.grpc:grpc-netty:${grpcVersion}"
compile "io.netty:netty-tcnative-boringssl-static:2.0.29.Final" implementation "io.netty:netty-tcnative-boringssl-static:2.0.29.Final"
compile "io.netty:netty-all:4.1.48.Final" implementation "io.netty:netty-all:4.1.48.Final"
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile "org.jetbrains.kotlin:kotlin-reflect" implementation "org.jetbrains.kotlin:kotlin-reflect"
compile "org.springframework:spring-core:$springVersion" implementation "org.springframework:spring-core:$springVersion"
compile "org.springframework:spring-context:$springVersion" implementation "org.springframework:spring-context:$springVersion"
compile "org.springframework.security:spring-security-core:$springVersion" implementation "org.springframework.security:spring-security-core:$springVersion"
compile "org.springframework.security:spring-security-web:$springVersion" implementation "org.springframework.security:spring-security-web:$springVersion"
compile "org.springframework.security:spring-security-config:$springVersion" implementation "org.springframework.security:spring-security-config:$springVersion"
compile "io.projectreactor:reactor-core:$reactorVersion" implementation "io.projectreactor:reactor-core:$reactorVersion"
compile "io.projectreactor.netty:reactor-netty:0.9.5.RELEASE" implementation "io.projectreactor.netty:reactor-netty:0.9.5.RELEASE"
compile 'io.projectreactor.addons:reactor-extra:3.2.3.RELEASE' implementation 'io.projectreactor.addons:reactor-extra:3.2.3.RELEASE'
compile 'io.projectreactor.kotlin:reactor-kotlin-extensions:1.0.2.RELEASE' implementation 'io.projectreactor.kotlin:reactor-kotlin-extensions:1.0.2.RELEASE'
compile 'com.salesforce.servicelibs:reactor-grpc:0.10.0' implementation 'com.salesforce.servicelibs:reactor-grpc:0.10.0'
compile 'io.lettuce:lettuce-core:5.2.2.RELEASE' implementation 'io.lettuce:lettuce-core:5.2.2.RELEASE'
compile 'org.yaml:snakeyaml:1.24' implementation 'org.yaml:snakeyaml:1.24'
compile "io.infinitape:etherjar-domain:$etherjarVersion" implementation "io.infinitape:etherjar-domain:$etherjarVersion"
compile "io.infinitape:etherjar-hex:$etherjarVersion" implementation "io.infinitape:etherjar-hex:$etherjarVersion"
compile "io.infinitape:etherjar-rpc-http:$etherjarVersion" implementation "io.infinitape:etherjar-rpc-http:$etherjarVersion"
compile "io.infinitape:etherjar-rpc-ws:$etherjarVersion" implementation "io.infinitape:etherjar-rpc-ws:$etherjarVersion"
compile "io.infinitape:etherjar-rpc-emerald:$etherjarVersion" implementation "io.infinitape:etherjar-rpc-emerald:$etherjarVersion"
compile "io.infinitape:etherjar-tx:$etherjarVersion" implementation "io.infinitape:etherjar-tx:$etherjarVersion"
compile 'org.bitcoinj:bitcoinj-core:0.15.8' implementation 'org.bitcoinj:bitcoinj-core:0.15.8'
compile 'org.apache.httpcomponents:httpmime:4.5.8' implementation 'org.apache.httpcomponents:httpmime:4.5.8'
compile 'org.apache.httpcomponents:httpclient:4.5.8' implementation 'org.apache.httpcomponents:httpclient:4.5.8'
compile 'com.fasterxml.jackson.core:jackson-core:2.9.8' implementation 'com.fasterxml.jackson.core:jackson-core:2.9.8'
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.8' implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.8'
compile 'commons-io:commons-io:2.6' implementation 'commons-io:commons-io:2.6'
compile 'org.apache.commons:commons-lang3:3.9' implementation 'org.apache.commons:commons-lang3:3.9'
compile 'org.apache.commons:commons-collections4:4.3' implementation 'org.apache.commons:commons-collections4:4.3'
compile 'javax.annotation:javax.annotation-api:1.3.2' implementation 'javax.annotation:javax.annotation-api:1.3.2'
compile 'org.bouncycastle:bcprov-jdk15on:1.61' implementation 'org.bouncycastle:bcprov-jdk15on:1.61'
compile("org.springframework.boot:spring-boot-starter:$springBootVersion") { implementation("org.springframework.boot:spring-boot-starter:$springBootVersion") {
exclude module: 'spring-boot-starter-logging' exclude module: 'spring-boot-starter-logging'
} }
compile "org.slf4j:slf4j-api:$slf4jVersion" implementation "org.slf4j:slf4j-api:$slf4jVersion"
compile "org.apache.logging.log4j:log4j-slf4j-impl:2.11.1" implementation "org.apache.logging.log4j:log4j-slf4j-impl:2.11.1"
compile "org.slf4j:jul-to-slf4j:$slf4jVersion" implementation "org.slf4j:jul-to-slf4j:$slf4jVersion"
compile "org.slf4j:jcl-over-slf4j:$slf4jVersion" implementation "org.slf4j:jcl-over-slf4j:$slf4jVersion"
testImplementation 'cglib:cglib-nodep:3.3.0'
testCompile "org.codehaus.groovy:groovy:$groovyVersion" testImplementation "org.spockframework:spock-core:$spockVersion"
testCompile 'cglib:cglib-nodep:3.3.0' testImplementation "io.grpc:grpc-testing:${grpcVersion}"
testCompile "org.spockframework:spock-core:$spockVersion" testImplementation "io.projectreactor:reactor-test:$reactorVersion"
testCompile "io.grpc:grpc-testing:${grpcVersion}" testImplementation 'org.objenesis:objenesis:3.1'
testCompile "io.projectreactor:reactor-test:$reactorVersion" testImplementation 'org.mock-server:mockserver-netty:5.10'
testCompile 'org.objenesis:objenesis:3.1'
testCompile 'org.mock-server:mockserver-netty:5.10'
} }
compileKotlin { compileKotlin {
kotlinOptions { kotlinOptions {
jvmTarget = "1.8" jvmTarget = "11"
} }
} }
compileTestKotlin { compileTestKotlin {
kotlinOptions { kotlinOptions {
jvmTarget = "1.8" jvmTarget = "11"
} }
} }
test {
jvmArgs '-ea'
testLogging.showStandardStreams = true
testLogging.exceptionFormat = 'full'
}
application { application {
mainClassName = 'io.emeraldpay.dshackle.StarterKt' mainClassName = 'io.emeraldpay.dshackle.StarterKt'
} }