mirror of
https://github.com/apple/pkl.git
synced 2026-07-07 13:35:36 +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:
@@ -57,10 +57,11 @@ val generateTestConfigClasses by
|
||||
|
||||
classpath = pklCodegenKotlin
|
||||
mainClass.set("org.pkl.codegen.kotlin.Main")
|
||||
val codegenSources = fileTree("src/test/resources/codegenPkl")
|
||||
argumentProviders.add(
|
||||
CommandLineArgumentProvider {
|
||||
listOf("--output-dir", outputDir.get().asFile.absolutePath) +
|
||||
fileTree("src/test/resources/codegenPkl").map { it.absolutePath }
|
||||
codegenSources.map { it.absolutePath }
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user