diff --git a/android/app/build.gradle b/android/app/build.gradle index 34c7af3..b26b8b2 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -25,7 +25,7 @@ if (flutterVersionName == null) { android { namespace = "com.example.jenkins1" - compileSdk = 33 + compileSdk = 34 ndkVersion = flutter.ndkVersion compileOptions { @@ -39,7 +39,7 @@ android { // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. minSdk = 21 - targetSdk = 33 + targetSdk = 34 versionCode = flutterVersionCode.toInteger() versionName = flutterVersionName } diff --git a/android/build.gradle b/android/build.gradle index d2ffbff..8cfba1d 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,3 +1,18 @@ +buildscript { + repositories { + google() + mavenCentral() + } + dependencies { + // Updated Android Gradle Plugin version + classpath "com.android.tools.build:gradle:8.1.0" + + // NOTE: Do not place your application dependencies here; they belong + // in the individual module build.gradle files + } +} + + allprojects { repositories { google()