Skip to content

Commit 9a30af3

Browse files
committed
upgrade targetSdk to 33 and upgrade minSdk to 21, replace jcenter with mavenCentral
1 parent c901a28 commit 9a30af3

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ rootProject.allprojects {
2222
apply plugin: 'com.android.library'
2323

2424
android {
25-
compileSdkVersion 30
25+
compileSdkVersion 33
2626

2727
defaultConfig {
28-
minSdkVersion 16
29-
targetSdkVersion 30
28+
minSdkVersion 21
29+
targetSdkVersion 33
3030
versionCode 1
3131
versionName "1.0"
3232
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

example/android/app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ apply plugin: 'com.android.application'
1515
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
1616

1717
android {
18-
compileSdkVersion 30
18+
compileSdkVersion 33
1919

2020
lintOptions {
2121
disable 'InvalidPackage'
@@ -24,8 +24,8 @@ android {
2424
defaultConfig {
2525
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
2626
applicationId "flutter.plugins.contactsservice.contactsserviceexample"
27-
minSdkVersion 16
28-
targetSdkVersion 30
27+
minSdkVersion 21
28+
targetSdkVersion 33
2929
versionCode 1
3030
versionName "1.0"
3131
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

example/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
buildscript {
22
repositories {
33
google()
4-
jcenter()
4+
mavenCenteral()
55
}
66

77
dependencies {
@@ -12,7 +12,7 @@ buildscript {
1212
allprojects {
1313
repositories {
1414
google()
15-
jcenter()
15+
mavenCenteral()
1616
}
1717
}
1818

0 commit comments

Comments
 (0)