@@ -4,7 +4,7 @@ buildscript {
44 }
55 dependencies {
66 classpath(" org.springframework.boot:spring-boot-gradle-plugin:${ springBootVersion} " )
7- classpath " com.netflix.nebula:nebula-project-plugin:7.0.7 "
7+ classpath " com.netflix.nebula:nebula-project-plugin:9.4.0 "
88 }
99}
1010plugins {
@@ -56,10 +56,10 @@ configurations.findAll{ cfg ->
5656
5757extensions. facets. each {
5858 if (it. name. endsWith(" Test" )) {
59- configurations. getByName(" ${ it.name} Compile " ). extendsFrom(configurations. testCompile )
60- configurations. getByName(" ${ it.name} Runtime " ). extendsFrom(configurations. testRuntime )
59+ configurations. getByName(" ${ it.name} Implementation " ). extendsFrom(configurations. testImplementation )
60+ configurations. getByName(" ${ it.name} RuntimeOnly " ). extendsFrom(configurations. testRuntimeOnly )
6161
62- dependencies. add(" ${ it.name} Compile " , sourceSets. test. output)
62+ dependencies. add(" ${ it.name} Implementation " , sourceSets. test. output)
6363 }
6464}
6565
@@ -79,29 +79,29 @@ dependencies {
7979 implementation project(' :grpc-spring-boot-starter' )
8080 implementation project(' :grpc-client-spring-boot-starter' )
8181
82- testCompile ' org.springframework.boot:spring-boot-starter-aop'
83- testCompile ' org.springframework.boot:spring-boot-starter-test'
84- testCompile ' com.github.stefanbirkner:system-rules:1.18.0'
85- testCompile (' org.springframework.cloud:spring-cloud-starter-consul-discovery' )
86- testCompile ' org.awaitility:awaitility:4.0.3'
87- testCompile " org.springframework.cloud:spring-cloud-config-server"
88- testCompile " org.springframework.cloud:spring-cloud-config-client"
89- testCompile " org.springframework.cloud:spring-cloud-starter-bootstrap"
82+ testImplementation ' org.springframework.boot:spring-boot-starter-aop'
83+ testImplementation ' org.springframework.boot:spring-boot-starter-test'
84+ testImplementation ' com.github.stefanbirkner:system-rules:1.18.0'
85+ testImplementation (' org.springframework.cloud:spring-cloud-starter-consul-discovery' )
86+ testImplementation ' org.awaitility:awaitility:4.0.3'
87+ testImplementation " org.springframework.cloud:spring-cloud-config-server"
88+ testImplementation " org.springframework.cloud:spring-cloud-config-client"
89+ testImplementation " org.springframework.cloud:spring-cloud-starter-bootstrap"
9090
91- testCompile " com.playtika.testcontainers:embedded-keycloak:2.2.2"
92- testCompile " com.playtika.testcontainers:embedded-consul:2.2.2"
91+ testImplementation " com.playtika.testcontainers:embedded-keycloak:2.2.2"
92+ testImplementation " com.playtika.testcontainers:embedded-consul:2.2.2"
9393
9494 testImplementation ' org.hamcrest:hamcrest:2.2'
9595 testImplementation ' org.mockito:mockito-core:2.23.0'
9696
9797
98- pureNettyTestCompile " io.grpc:grpc-netty"
98+ pureNettyTestImplementation " io.grpc:grpc-netty"
9999
100100
101- bothPureAndShadedNettyTestCompile " io.grpc:grpc-netty"
101+ bothPureAndShadedNettyTestImplementation " io.grpc:grpc-netty"
102102
103- kafkaStreamTestCompile " com.playtika.testcontainers:embedded-kafka:2.2.2"
104- kafkaStreamTestCompile " org.springframework.cloud:spring-cloud-starter-stream-kafka"
103+ kafkaStreamTestImplementation " com.playtika.testcontainers:embedded-kafka:2.2.2"
104+ kafkaStreamTestImplementation " org.springframework.cloud:spring-cloud-starter-stream-kafka"
105105
106106
107107}
0 commit comments