aboutsummaryrefslogtreecommitdiff
path: root/build-logic/kotlin-plugins
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-12-14 22:38:01 +0530
committerGitHub <noreply@github.com>2021-12-14 17:08:01 +0000
commit64fed530b28b2b3dd0a984570e25c7e66d9fc409 (patch)
treeb2eb2d739215efd6485b2da2651e0d326c26caf7 /build-logic/kotlin-plugins
parent6db55551d4afcba5726b2afd16fdac1b1b99d5fe (diff)
Batch dependency upgrades (#1590)
Diffstat (limited to 'build-logic/kotlin-plugins')
-rw-r--r--build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.kotlin-common.gradle.kts7
1 files changed, 6 insertions, 1 deletions
diff --git a/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.kotlin-common.gradle.kts b/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.kotlin-common.gradle.kts
index 7ef59be9..e61b03a8 100644
--- a/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.kotlin-common.gradle.kts
+++ b/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.kotlin-common.gradle.kts
@@ -10,7 +10,12 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent
import org.gradle.kotlin.dsl.withType
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
-val additionalCompilerArgs = listOf("-Xopt-in=kotlin.RequiresOptIn")
+val additionalCompilerArgs =
+ listOf(
+ "-Xopt-in=kotlin.RequiresOptIn",
+ "-P",
+ "plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true",
+ )
tasks.withType<JavaCompile>().configureEach {
sourceCompatibility = JavaVersion.VERSION_11.toString()