From 17754a65fed8c7817ce6451e2dfb54554420f1b0 Mon Sep 17 00:00:00 2001 From: Jeroen van Erp Date: Thu, 16 Apr 2020 09:38:04 +0200 Subject: [PATCH] Update build.gradle for newer gradle versions --- build.gradle | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/build.gradle b/build.gradle index bd5daae6..c026d6e1 100644 --- a/build.gradle +++ b/build.gradle @@ -50,22 +50,22 @@ def sshdVersion = "2.1.0" dependencies { signature 'org.codehaus.mojo.signature:java16:1.1@signature' - compile "org.slf4j:slf4j-api:1.7.7" - compile "org.bouncycastle:bcprov-jdk15on:$bouncycastleVersion" - compile "org.bouncycastle:bcpkix-jdk15on:$bouncycastleVersion" - compile "com.jcraft:jzlib:1.1.3" + implementation "org.slf4j:slf4j-api:1.7.7" + implementation "org.bouncycastle:bcprov-jdk15on:$bouncycastleVersion" + implementation "org.bouncycastle:bcpkix-jdk15on:$bouncycastleVersion" + 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" - testCompile 'org.spockframework:spock-core:1.3-groovy-2.4' - testCompile "org.mockito:mockito-core:2.28.2" - testCompile "org.apache.sshd:sshd-core:$sshdVersion" - testCompile "org.apache.sshd:sshd-sftp:$sshdVersion" - testCompile "org.apache.sshd:sshd-scp:$sshdVersion" - testRuntime "ch.qos.logback:logback-classic:1.2.3" - testCompile 'org.glassfish.grizzly:grizzly-http-server:2.4.4' - testCompile 'org.apache.httpcomponents:httpclient:4.5.9' + testImplementation "junit:junit:4.12" + testImplementation 'org.spockframework:spock-core:1.3-groovy-2.4' + testImplementation "org.mockito:mockito-core:2.28.2" + testImplementation "org.apache.sshd:sshd-core:$sshdVersion" + testImplementation "org.apache.sshd:sshd-sftp:$sshdVersion" + testImplementation "org.apache.sshd:sshd-scp:$sshdVersion" + testRuntimeOnly "ch.qos.logback:logback-classic:1.2.3" + testImplementation 'org.glassfish.grizzly:grizzly-http-server:2.4.4' + testImplementation 'org.apache.httpcomponents:httpclient:4.5.9' } @@ -129,8 +129,8 @@ sourcesJar { } configurations { - integrationTestCompile.extendsFrom testCompile - integrationTestRuntime.extendsFrom testRuntime + integrationTestImplementation.extendsFrom testImplementation + integrationTestRuntimeOnly.extendsFrom testRuntimeOnly } sourceSets {