Skip to content

Commit 6cc21ee

Browse files
committed
chore(android): update build config and gradle wrapper
- Updated compileSdkVersion from 34 to 36 - Downgraded TensorFlow Lite dependency from 2.16.1 to 2.12.0 - Added gradle-wrapper.properties with Gradle 9.0 milestone 1 distribution - Ensures consistent build environment and dependency alignment
1 parent 1062c80 commit 6cc21ee

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ apply plugin: 'com.android.library'
2727
android {
2828
// Bumping the plugin compileSdkVersion requires all clients of this plugin
2929
// to bump the version in their app.
30-
compileSdkVersion 34
30+
compileSdkVersion 36
3131
namespace 'org.tensorflow.tflite_flutter'
3232

3333
// Bumping the plugin ndkVersion requires all clients of this plugin to bump
@@ -63,7 +63,7 @@ android {
6363

6464

6565
dependencies {
66-
def tflite_version = "2.16.1"
66+
def tflite_version = "2.12.0"
6767

6868
implementation("org.tensorflow:tensorflow-lite:${tflite_version}")
6969
implementation("org.tensorflow:tensorflow-lite-gpu:${tflite_version}")
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0-milestone-1-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
6+
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)