diff --git a/gradle.properties b/gradle.properties index c44943ed7..afd38abde 100644 --- a/gradle.properties +++ b/gradle.properties @@ -20,4 +20,16 @@ android.defaults.buildFeatures.resValues=false # https://d.android.com/reference/tools/gradle-api/8.0/com/android/build/api/dsl/BuildFeatures#shaders() # Flag to enable Shader compilation. # Default value is true. -android.defaults.buildFeatures.shaders=false \ No newline at end of file +android.defaults.buildFeatures.shaders=false + + + +# Use latest lint alpha for best available K2 support +# https://googlesamples.github.io/android-custom-lint-rules/usage/newer-lint.md.html +android.experimental.lint.version=8.2.0-alpha15 + +# Use K2 compiler +kotlin.experimental.tryK2=true + +# Run lint on K2 +android.lint.useK2Uast=true \ No newline at end of file