sdk version changed to 34 and gradle classpath

master
Sneha 1 month ago
parent bad05f3a2b
commit d53dfbd1bf

@ -25,7 +25,7 @@ if (flutterVersionName == null) {
android { android {
namespace = "com.example.jenkins1" namespace = "com.example.jenkins1"
compileSdk = 33 compileSdk = 34
ndkVersion = flutter.ndkVersion ndkVersion = flutter.ndkVersion
compileOptions { compileOptions {
@ -39,7 +39,7 @@ android {
// You can update the following values to match your application needs. // 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. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdk = 21 minSdk = 21
targetSdk = 33 targetSdk = 34
versionCode = flutterVersionCode.toInteger() versionCode = flutterVersionCode.toInteger()
versionName = flutterVersionName versionName = flutterVersionName
} }

@ -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 { allprojects {
repositories { repositories {
google() google()

Loading…
Cancel
Save