mirror of
https://github.com/apple/pkl.git
synced 2026-03-22 17:19:13 +01:00
Use layout.buildDirectory (#326)
This switches Gradle scripts to use `layout.buildDirectory` instead of hard-coded "build".
This commit is contained in:
@@ -55,7 +55,7 @@ val workAroundKotlinGradlePluginBug by tasks.registering {
|
||||
// A problem was found with the configuration of task ':pkl-executor:compileJava' (type 'JavaCompile').
|
||||
// > Directory '[...]/pkl/pkl-executor/build/classes/kotlin/main'
|
||||
// specified for property 'compileKotlinOutputClasses' does not exist.
|
||||
file("build/classes/kotlin/main").mkdirs()
|
||||
layout.buildDirectory.dir("classes/kotlin/main").get().asFile.mkdirs()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user