aboutsummaryrefslogtreecommitdiff
path: root/build-logic/kotlin-plugins/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build-logic/kotlin-plugins/build.gradle.kts')
-rw-r--r--build-logic/kotlin-plugins/build.gradle.kts5
1 files changed, 4 insertions, 1 deletions
diff --git a/build-logic/kotlin-plugins/build.gradle.kts b/build-logic/kotlin-plugins/build.gradle.kts
index 5fd5ba0c..6d2606ed 100644
--- a/build-logic/kotlin-plugins/build.gradle.kts
+++ b/build-logic/kotlin-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"
+ }
}
}