Migrate Gradle deprecations (#1745)

This commit is contained in:
Daniel Chao
2026-07-08 12:05:19 -07:00
committed by GitHub
parent 25d86db416
commit 7a7f3abc50
22 changed files with 356 additions and 323 deletions
+4 -4
View File
@@ -78,8 +78,8 @@ tasks.test {
inputs.dir("src/test/files/SinglePackageTest/output")
}
val testNativeExecutable by
tasks.registering(Test::class) {
val testNativeExecutable =
tasks.register<Test>("testNativeExecutable") {
dependsOn(tasks.assembleNative)
testClassesDirs = sourceSets.test.get().output.classesDirs
classpath = sourceSets.test.get().runtimeClasspath
@@ -91,8 +91,8 @@ val testNativeExecutable by
filter { includeTestsMatching("org.pkl.doc.NativeExecutableTest") }
}
val testJavaExecutable by
tasks.registering(Test::class) {
val testJavaExecutable =
tasks.register<Test>("testJavaExecutable") {
testClassesDirs = sourceSets.test.get().output.classesDirs
classpath = sourceSets.test.get().runtimeClasspath