diff --git a/android/build.gradle b/android/build.gradle index 8002459..14b2923 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -8,20 +8,21 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.6.3' + classpath 'com.android.tools.build:gradle:8.1.0' } } rootProject.allprojects { repositories { google() - jcenter() + mavenCentral() } } apply plugin: 'com.android.library' android { + namespace "sq.flutter.tflite" compileSdkVersion 28 defaultConfig { @@ -33,7 +34,7 @@ android { } dependencies { - compile 'org.tensorflow:tensorflow-lite:+' - compile 'org.tensorflow:tensorflow-lite-gpu:+' + implementation 'org.tensorflow:tensorflow-lite:+' + implementation 'org.tensorflow:tensorflow-lite-gpu:+' } }