aboutsummaryrefslogtreecommitdiff
path: root/build-logic/automation-plugins/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build-logic/automation-plugins/build.gradle.kts')
-rw-r--r--build-logic/automation-plugins/build.gradle.kts5
1 files changed, 4 insertions, 1 deletions
diff --git a/build-logic/automation-plugins/build.gradle.kts b/build-logic/automation-plugins/build.gradle.kts
index 8ec63671..83b89079 100644
--- a/build-logic/automation-plugins/build.gradle.kts
+++ b/build-logic/automation-plugins/build.gradle.kts
@@ -17,7 +17,10 @@ afterEvaluate {
}
tasks.withType<KotlinCompile>().configureEach {
- kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() }
+ kotlinOptions {
+ jvmTarget = JavaVersion.VERSION_11.toString()
+ freeCompilerArgs = freeCompilerArgs + "-Xsam-conversions=class"
+ }
}
}