mirror of
https://github.com/apple/pkl.git
synced 2026-06-10 15:52:50 +02:00
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:
@@ -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 }
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user