Skip to content

Commit faf53c7

Browse files
committed
Changed dependencies of custom tests on build
Now running "gradle test --tests ..." works as expected.
1 parent ffc61ae commit faf53c7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core/kotlinx-coroutines-core/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,16 @@ task lockFreedomTest(type: Test, dependsOn: testClasses) {
2424
sourceSets.test.output.classesDirs)
2525
include '**/*LFTest.*'
2626
}
27-
test.dependsOn lockFreedomTest
27+
28+
build.dependsOn lockFreedomTest
2829

2930
task jdk16Test(type: Test, dependsOn: testClasses) {
3031
executable = "$System.env.JDK_16/bin/java"
3132
exclude '**/*LinearizabilityTest.*'
3233
exclude '**/*LFTest.*'
3334
}
34-
test.dependsOn jdk16Test
35+
36+
build.dependsOn jdk16Test
3537

3638
task testsJar(type: Jar, dependsOn: testClasses) {
3739
classifier = 'tests'

0 commit comments

Comments
 (0)