diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 966680a..f20847e 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -45,6 +45,7 @@ android { applicationId "com.fingerprintjs.flutter.fpjs_pro.fpjs_pro_plugin_example" minSdkVersion 21 targetSdkVersion flutter.targetSdkVersion + compileSdkVersion 34 versionCode flutterVersionCode.toInteger() versionName flutterVersionName } @@ -56,6 +57,9 @@ android { signingConfig signingConfigs.debug } } + if (project.android.hasProperty("namespace")) { + namespace 'com.fingerprintjs.flutter.fpjs_pro.fpjs_pro_plugin_example' + } } flutter { diff --git a/example/android/build.gradle b/example/android/build.gradle index 3402903..721a809 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:7.4.2' + classpath 'com.android.tools.build:gradle:8.1.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } diff --git a/example/android/gradle/wrapper/gradle-wrapper.properties b/example/android/gradle/wrapper/gradle-wrapper.properties index 6b66533..ea0d35b 100644 --- a/example/android/gradle/wrapper/gradle-wrapper.properties +++ b/example/android/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-all.zip