diff --git a/compiler/build.gradle.kts b/compiler/build.gradle.kts index 69d038ada6..de499630ba 100644 --- a/compiler/build.gradle.kts +++ b/compiler/build.gradle.kts @@ -49,7 +49,7 @@ dependencies { /** Compilation */ jflex { - encoding.set(Charsets.UTF_8.name()) + encoding = Charsets.UTF_8.name() } val compileCup by tasks.registering(CompileCupTask::class) @@ -61,7 +61,7 @@ sourceSets { } tasks.compileKotlin.configure { - dependsOn(tasks.withType()) + dependsOn(tasks.withType()) dependsOn(tasks.withType()) } @@ -76,7 +76,7 @@ tasks.withType().configureEach { // remove if/when Dokka fixes this issue. tasks.withType().configureEach { dependsOn(compileCup) - dependsOn(tasks.withType()) + dependsOn(tasks.withType()) } abstract class CompileCupTask : DefaultTask() {