Skip to content

Commit d66ee72

Browse files
committed
Separate "moreTest" task for jdk16Test & lockFreedomTest
"gradlew test" runs only regular tests "gradlew build" build everything with all tests "gradlew build -x test -x moreTest" builds everything w/o any tests
1 parent 9832d3d commit d66ee72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/kotlinx-coroutines-core/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ task lockFreedomTest(type: Test, dependsOn: testClasses) {
2424
include '**/*LFTest.*'
2525
}
2626

27-
build.dependsOn lockFreedomTest
28-
2927
task jdk16Test(type: Test, dependsOn: testClasses) {
3028
executable = "$System.env.JDK_16/bin/java"
3129
exclude '**/*LinearizabilityTest.*'
3230
exclude '**/*LFTest.*'
3331
}
3432

35-
build.dependsOn jdk16Test
33+
task moreTest(dependsOn: [lockFreedomTest, jdk16Test])
34+
35+
build.dependsOn moreTest
3636

3737
task testsJar(type: Jar, dependsOn: testClasses) {
3838
classifier = 'tests'

0 commit comments

Comments
 (0)