From c555609f164eb5245eb1cceb3fe22ec1d258ec5d Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 3 May 2022 01:48:16 +0530 Subject: Misc cleanups (#1891) --- build-logic/kotlin-plugins/build.gradle.kts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'build-logic/kotlin-plugins') 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().configureEach { - kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() } + kotlinOptions { + jvmTarget = JavaVersion.VERSION_11.toString() + freeCompilerArgs = freeCompilerArgs + "-Xsam-conversions=class" + } } } -- cgit v1.2.3