mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
Fix: make Gradle tests compatible with Gradle 8.1 (#610)
The tests were using assignment expressions, a Kotlin compiler feature only available in Gradle 8.2 and onwards.
This commit is contained in:
@@ -569,9 +569,9 @@ class EvaluatorsTest : AbstractTest() {
|
||||
pkl {
|
||||
evaluators {
|
||||
register("doEval") {
|
||||
sourceModules = files("file1.pkl", "file2.pkl")
|
||||
outputFile = layout.projectDirectory.file("%{moduleName}.%{outputFormat}")
|
||||
outputFormat = "yaml"
|
||||
sourceModules.set(files("file1.pkl", "file2.pkl"))
|
||||
outputFile.set(layout.projectDirectory.file("%{moduleName}.%{outputFormat}"))
|
||||
outputFormat.set("yaml")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user