diff --git a/hive_flutter/example/android/gradle.properties b/hive_flutter/example/android/gradle.properties index 3b5b324f..5f5d39d0 100644 --- a/hive_flutter/example/android/gradle.properties +++ b/hive_flutter/example/android/gradle.properties @@ -1,3 +1,6 @@ org.gradle.jvmargs=-Xmx4G -XX:+HeapDumpOnOutOfMemoryError android.useAndroidX=true android.enableJetifier=true +android.defaults.buildfeatures.buildconfig=true +android.nonTransitiveRClass=false +android.nonFinalResIds=false diff --git a/hive_flutter/example/android/gradle/wrapper/gradle-wrapper.properties b/hive_flutter/example/android/gradle/wrapper/gradle-wrapper.properties index e1ca574e..df97d72b 100644 --- a/hive_flutter/example/android/gradle/wrapper/gradle-wrapper.properties +++ b/hive_flutter/example/android/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip +networkTimeout=10000 +validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip diff --git a/hive_flutter/example/android/settings.gradle b/hive_flutter/example/android/settings.gradle index 536165d3..4cdcf27f 100644 --- a/hive_flutter/example/android/settings.gradle +++ b/hive_flutter/example/android/settings.gradle @@ -18,7 +18,7 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" - id "com.android.application" version "7.3.0" apply false + id "com.android.application" version '8.7.0' apply false id "org.jetbrains.kotlin.android" version "1.7.10" apply false }