File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,6 @@ dependencies {
44
44
compileOnly(" io.grpc:grpc-api:$grpcVersion " )
45
45
compileOnly(" io.grpc:grpc-protobuf:$grpcVersion " )
46
46
compileOnly(" io.grpc:grpc-stub:$grpcVersion " )
47
-
48
- testImplementation(" org.junit.jupiter:junit-jupiter:5.12.0" )
49
- testImplementation(" org.assertj:assertj-core:3.27.3" )
50
- testRuntimeOnly(" org.junit.platform:junit-platform-launcher:1.12.0" )
51
47
}
52
48
53
49
protobuf {
Original file line number Diff line number Diff line change @@ -86,3 +86,20 @@ configurations.configureEach {
86
86
preferProjectModules()
87
87
}
88
88
}
89
+
90
+ testing {
91
+ suites.withType(JvmTestSuite ::class ).configureEach {
92
+ dependencies {
93
+ implementation(project(project.path))
94
+
95
+ implementation(enforcedPlatform(" org.junit:junit-bom:5.12.0" ))
96
+ implementation(enforcedPlatform(" org.assertj:assertj-bom:3.27.3" ))
97
+
98
+ implementation(" org.junit.jupiter:junit-jupiter-api" )
99
+ implementation(" org.assertj:assertj-core" )
100
+
101
+ runtimeOnly(" org.junit.jupiter:junit-jupiter-engine" )
102
+ runtimeOnly(" org.junit.platform:junit-platform-launcher" )
103
+ }
104
+ }
105
+ }
You can’t perform that action at this time.
0 commit comments