aboutsummaryrefslogtreecommitdiff
path: root/build-logic/kotlin-plugins
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-05-03 01:48:16 +0530
committerGitHub <noreply@github.com>2022-05-02 20:18:16 +0000
commitc555609f164eb5245eb1cceb3fe22ec1d258ec5d (patch)
tree2a3dd02158fccfff2d92fe9c3ff433758a141076 /build-logic/kotlin-plugins
parent07a83a33b878791257d1aa2282e71c1d2f301254 (diff)
Misc cleanups (#1891)
Diffstat (limited to 'build-logic/kotlin-plugins')
-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"
+ }
}
}