diff --git a/.tool-versions b/.tool-versions index 3b81679..fd1e0a4 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1,2 @@ flutter 3.24.5-stable +java openjdk-17 diff --git a/native_image_cropper/example/android/app/build.gradle b/native_image_cropper/example/android/app/build.gradle index 12fb8e3..616ef4a 100644 --- a/native_image_cropper/example/android/app/build.gradle +++ b/native_image_cropper/example/android/app/build.gradle @@ -33,6 +33,10 @@ android { targetCompatibility = JavaVersion.VERSION_1_8 } + kotlinOptions { + jvmTarget = '1.8' + } + defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId = "biz.cosee.native_image_cropper_example" diff --git a/native_image_cropper/example/android/gradle/wrapper/gradle-wrapper.properties b/native_image_cropper/example/android/gradle/wrapper/gradle-wrapper.properties index e1ee6e4..f8748fc 100644 --- a/native_image_cropper/example/android/gradle/wrapper/gradle-wrapper.properties +++ b/native_image_cropper/example/android/gradle/wrapper/gradle-wrapper.properties @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.4-all.zip +distributionUrl=https://services.gradle.org/distributions/gradle-8.11.1-all.zip diff --git a/native_image_cropper/example/android/settings.gradle b/native_image_cropper/example/android/settings.gradle index 264db3c..42a51c6 100644 --- a/native_image_cropper/example/android/settings.gradle +++ b/native_image_cropper/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.2" apply false id "org.jetbrains.kotlin.android" version "2.0.21" apply false } diff --git a/native_image_cropper_android/example/android/app/build.gradle b/native_image_cropper_android/example/android/app/build.gradle index cf1b212..a3726f4 100644 --- a/native_image_cropper_android/example/android/app/build.gradle +++ b/native_image_cropper_android/example/android/app/build.gradle @@ -33,6 +33,10 @@ android { targetCompatibility = JavaVersion.VERSION_1_8 } + kotlinOptions { + jvmTarget = '1.8' + } + defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId = "biz.cosee.native_image_cropper_android_example" diff --git a/native_image_cropper_android/example/android/gradle/wrapper/gradle-wrapper.properties b/native_image_cropper_android/example/android/gradle/wrapper/gradle-wrapper.properties index e1ee6e4..f8748fc 100644 --- a/native_image_cropper_android/example/android/gradle/wrapper/gradle-wrapper.properties +++ b/native_image_cropper_android/example/android/gradle/wrapper/gradle-wrapper.properties @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.4-all.zip +distributionUrl=https://services.gradle.org/distributions/gradle-8.11.1-all.zip diff --git a/native_image_cropper_android/example/android/settings.gradle b/native_image_cropper_android/example/android/settings.gradle index 264db3c..42a51c6 100644 --- a/native_image_cropper_android/example/android/settings.gradle +++ b/native_image_cropper_android/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.2" apply false id "org.jetbrains.kotlin.android" version "2.0.21" apply false }