mirror of
https://github.com/apple/pkl.git
synced 2026-07-05 20:51:51 +02: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 {
|
pkl {
|
||||||
evaluators {
|
evaluators {
|
||||||
register("doEval") {
|
register("doEval") {
|
||||||
sourceModules = files("file1.pkl", "file2.pkl")
|
sourceModules.set(files("file1.pkl", "file2.pkl"))
|
||||||
outputFile = layout.projectDirectory.file("%{moduleName}.%{outputFormat}")
|
outputFile.set(layout.projectDirectory.file("%{moduleName}.%{outputFormat}"))
|
||||||
outputFormat = "yaml"
|
outputFormat.set("yaml")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user