Skip to content

Commit e3a87b0

Browse files
committed
Resolve deprecation warning
1 parent da7bb09 commit e3a87b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ tasks {
204204
val testTasks = testNGTestConfigurationsByVersion.map { (version, configuration) ->
205205
register<Test>("test_${version.suffix}") {
206206
classpath = configuration + sourceSets.test.get().output
207+
testClassesDirs = files(testing.suites.named<JvmTestSuite>("test").map { it.sources.output.classesDirs })
207208
group = JavaBasePlugin.VERIFICATION_GROUP
208209
useJUnitPlatform {
209210
includeEngines("junit-jupiter")

0 commit comments

Comments
 (0)