diff --git a/template/android/gradle.properties b/template/android/gradle.properties index a6de6f6..50a0ed6 100644 --- a/template/android/gradle.properties +++ b/template/android/gradle.properties @@ -42,3 +42,8 @@ hermesEnabled=true # This allows your app to draw behind system bars for an immersive UI. # Note: Only works with ReactActivity and should not be used with custom Activity. edgeToEdgeEnabled=true + +# Opt out of built-in kotlin and new DSL behavior that ships with AGP 9. +# Starting from AGP 10.x these opt outs will be removed. +android.builtInKotlin=false +android.newDsl=false \ No newline at end of file