From 82831df9be210f634a60ed4cc961b805de23efa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edd=C3=BA=20Mel=C3=A9ndez?= Date: Sat, 10 Dec 2022 12:05:23 -0600 Subject: [PATCH 1/2] Replace deprecated dependency scopes --- build.gradle | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index 14b9665..4f984aa 100644 --- a/build.gradle +++ b/build.gradle @@ -27,17 +27,17 @@ configurations { } dependencies { - runtime "org.slf4j:slf4j-simple:1.7.12" + runtimeOnly "org.slf4j:slf4j-simple:1.7.12" - compile ratpack.dependency("guice") - compile "org.mongodb:mongo-java-driver:3.2.2" - compile "org.slf4j:slf4j-simple:1.7.5" - compile "com.github.sdkman:sdkman-persistent-model:1.1.1" + implementation ratpack.dependency("guice") + implementation "org.mongodb:mongo-java-driver:3.2.2" + implementation "org.slf4j:slf4j-simple:1.7.5" + implementation "com.github.sdkman:sdkman-persistent-model:1.1.1" - testCompile "org.codehaus.groovy:groovy-all:2.4.19" - testCompile "org.spockframework:spock-core:1.1-groovy-2.4" - testRuntime "cglib:cglib-nodep:3.1" - testRuntime "org.objenesis:objenesis:2.1" + testImplementation "org.codehaus.groovy:groovy-all:2.4.19" + testImplementation "org.spockframework:spock-core:1.1-groovy-2.4" + testRuntimeOnly "cglib:cglib-nodep:3.1" + testRuntimeOnly "org.objenesis:objenesis:2.1" funTestCompile ratpack.dependency("test") funTestCompile "io.cucumber:cucumber-junit:6.1.1" From f85152d5bd23b7e7e5fb3f90787e354b84fdd5e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edd=C3=BA=20Mel=C3=A9ndez?= Date: Sat, 10 Dec 2022 12:16:25 -0600 Subject: [PATCH 2/2] Fix missing scopes --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 4f984aa..4c68a7e 100644 --- a/build.gradle +++ b/build.gradle @@ -22,8 +22,8 @@ repositories { } configurations { - funTestCompile.extendsFrom testCompile - funTestRuntime.extendsFrom testRuntime + funTestCompile.extendsFrom testImplementation + funTestRuntime.extendsFrom testRuntimeOnly } dependencies {