diff --git a/templates/android/template/gradle.properties b/templates/android/template/gradle.properties index dff152bc8..a33d2c78e 100644 --- a/templates/android/template/gradle.properties +++ b/templates/android/template/gradle.properties @@ -21,6 +21,11 @@ ANDROID_BUILD_MIN_SDK_VERSION=::ANDROID_MINIMUM_SDK_VERSION:: ANDROID_BUILD_SDK_VERSION=::ANDROID_TARGET_SDK_VERSION:: ANDROID_BUILD_TOOLS_VERSION=::ANDROID_BUILD_TOOLS_VERSION:: +::if (ANDROID_TARGET_SDK_VERSION>=28):: +android.useAndroidX=true +android.enableJetifier=true +::end:: + ::if KEY_STORE:: KEY_STORE=::KEY_STORE:: KEY_STORE_PASSWORD=::KEY_STORE_PASSWORD::