We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95d16d8 commit 6003dd1Copy full SHA for 6003dd1
servlet/build.gradle
@@ -69,7 +69,9 @@ dependencies {
69
libraries.protobuf.java
70
}
71
72
-tasks.named("test").configure {
+tasks.register('threadingTest', Test) {
73
+ classpath = sourceSets.threadingTest.runtimeClasspath
74
+ testClassesDirs = sourceSets.threadingTest.output.classesDirs
75
if (JavaVersion.current().isJava9Compatible()) {
76
jvmArgs += [
77
// required for Lincheck
@@ -79,11 +81,6 @@ tasks.named("test").configure {
79
81
80
82
83
-tasks.register('threadingTest', Test) {
- classpath = sourceSets.threadingTest.runtimeClasspath
84
- testClassesDirs = sourceSets.threadingTest.output.classesDirs
85
-}
86
-
87
tasks.named("assemble").configure {
88
dependsOn tasks.named('compileThreadingTestJava')
89
0 commit comments