@@ -91,26 +91,25 @@ dependencies {
9191 implementation " info.picocli:picocli-shell-jline3:$picocliVersion "
9292 implementation ' jakarta.inject:jakarta.inject-api'
9393 implementation " org.fusesource.jansi:jansi:$jansiVersion "
94- implementation " org.slf4j:slf4j-nop: $s lf4jVersion "
95- implementation " org.yaml:snakeyaml: $s nakeyamlVersion "
94+ implementation " org.slf4j:slf4j-nop"
95+ implementation " org.yaml:snakeyaml"
9696
9797 compileOnly ' com.google.code.findbugs:jsr305'
9898
9999 testImplementation ' io.micronaut.picocli:micronaut-picocli'
100100 testImplementation " org.reflections:reflections:$reflectionsVersion "
101- testImplementation " org.testcontainers:testcontainers- spock"
101+ testImplementation " org.testcontainers:spock"
102102 if (project. hasProperty(' micronautVersion' )) {
103103 testCompileOnly " io.micronaut:micronaut-inject-groovy:$micronautVersion "
104104 }
105105
106106 testImplementation ' org.apache.groovy:groovy'
107- testImplementation " org.spockframework:spock-core: $s pockVersion " , {
107+ testImplementation " org.spockframework:spock-core" , {
108108 exclude group : ' org.apache.groovy' , module : ' groovy-all'
109109 }
110110
111- testImplementation " cglib:cglib-nodep:$cglibVersion "
112- testImplementation " org.objenesis:objenesis:$objenesisVersion "
113- testRuntimeOnly " ch.qos.logback:logback-classic:$logbackClassicVersion "
111+ testRuntimeOnly " ch.qos.logback:logback-classic"
112+ testRuntimeOnly " org.objenesis:objenesis:$objenesisVersion "
114113 testImplementation ' org.apache.groovy:groovy-test'
115114}
116115
@@ -159,13 +158,3 @@ jarTask.configure { Jar it ->
159158 attributes ' Main-Class' : project. property(' startMainClass' )
160159 }
161160}
162-
163- configurations. configureEach {
164- resolutionStrategy {
165- eachDependency { DependencyResolveDetails details ->
166- if (details. requested. name == ' spock-core' ) {
167- details. useVersion(spockVersion)
168- }
169- }
170- }
171- }
0 commit comments