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:
1 parent
d5e86ed077
commit
7c4904429f
1 file changed
+3
-3
@@ -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