From 0bf14ca7c3759d33139083f234f1c14d271f08b1 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 28 Dec 2023 11:39:27 +0100 Subject: [PATCH] Add configuration for suppressKotlinVersionCompatibilityCheck (commented out) --- build.gradle.kts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 1a19007a28..6705c5a870 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -100,6 +100,16 @@ allprojects { // You can override by passing `-PallWarningsAsErrors=true` in the command line // Or add a line with "allWarningsAsErrors=true" in your ~/.gradle/gradle.properties file kotlinOptions.allWarningsAsErrors = project.properties["allWarningsAsErrors"] == "true" + + kotlinOptions { + // Uncomment to suppress Compose Kotlin compiler compatibility warning + /* + freeCompilerArgs += listOf( + "-P", + "plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true" + ) + */ + } } // Detect unused dependencies