Enable Gradle configuration cache (#1646)

Enable the configuration cache feature in Gradle, and adjust various
pieces of build logic that aren't configuration cache compatible.
This commit is contained in:
Daniel Chao
2026-06-05 11:05:19 -07:00
committed by GitHub
parent 74eae0388e
commit 87ec8ee730
20 changed files with 296 additions and 177 deletions
+2 -1
View File
@@ -33,10 +33,11 @@ val generateTestConfigClasses by
classpath = pklCodegenJava
mainClass.set("org.pkl.codegen.java.Main")
val codegenSources = fileTree("src/test/resources/codegenPkl")
argumentProviders.add(
CommandLineArgumentProvider {
listOf("--output-dir", outputDir.get().asFile.path, "--generate-javadoc") +
fileTree("src/test/resources/codegenPkl").map { it.path }
codegenSources.map { it.path }
}
)
}