Update build.gradle for newer gradle versions

This commit is contained in:
Jeroen van Erp
2020-04-16 09:38:04 +02:00
parent 2bb52fcf7d
commit 17754a65fe

View File

@@ -50,22 +50,22 @@ def sshdVersion = "2.1.0"
dependencies { dependencies {
signature 'org.codehaus.mojo.signature:java16:1.1@signature' signature 'org.codehaus.mojo.signature:java16:1.1@signature'
compile "org.slf4j:slf4j-api:1.7.7" implementation "org.slf4j:slf4j-api:1.7.7"
compile "org.bouncycastle:bcprov-jdk15on:$bouncycastleVersion" implementation "org.bouncycastle:bcprov-jdk15on:$bouncycastleVersion"
compile "org.bouncycastle:bcpkix-jdk15on:$bouncycastleVersion" implementation "org.bouncycastle:bcpkix-jdk15on:$bouncycastleVersion"
compile "com.jcraft:jzlib:1.1.3" implementation "com.jcraft:jzlib:1.1.3"
compile "net.i2p.crypto:eddsa:0.3.0" implementation "net.i2p.crypto:eddsa:0.3.0"
testCompile "junit:junit:4.12" testImplementation "junit:junit:4.12"
testCompile 'org.spockframework:spock-core:1.3-groovy-2.4' testImplementation 'org.spockframework:spock-core:1.3-groovy-2.4'
testCompile "org.mockito:mockito-core:2.28.2" testImplementation "org.mockito:mockito-core:2.28.2"
testCompile "org.apache.sshd:sshd-core:$sshdVersion" testImplementation "org.apache.sshd:sshd-core:$sshdVersion"
testCompile "org.apache.sshd:sshd-sftp:$sshdVersion" testImplementation "org.apache.sshd:sshd-sftp:$sshdVersion"
testCompile "org.apache.sshd:sshd-scp:$sshdVersion" testImplementation "org.apache.sshd:sshd-scp:$sshdVersion"
testRuntime "ch.qos.logback:logback-classic:1.2.3" testRuntimeOnly "ch.qos.logback:logback-classic:1.2.3"
testCompile 'org.glassfish.grizzly:grizzly-http-server:2.4.4' testImplementation 'org.glassfish.grizzly:grizzly-http-server:2.4.4'
testCompile 'org.apache.httpcomponents:httpclient:4.5.9' testImplementation 'org.apache.httpcomponents:httpclient:4.5.9'
} }
@@ -129,8 +129,8 @@ sourcesJar {
} }
configurations { configurations {
integrationTestCompile.extendsFrom testCompile integrationTestImplementation.extendsFrom testImplementation
integrationTestRuntime.extendsFrom testRuntime integrationTestRuntimeOnly.extendsFrom testRuntimeOnly
} }
sourceSets { sourceSets {