Skip to content

Commit fc59745

Browse files
authored
build(battery_plus): Update to target and compile SDK 34 on Android (#2702)
1 parent 7ddd749 commit fc59745

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

packages/battery_plus/battery_plus/android/build.gradle

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ apply plugin: 'com.android.library'
2424
apply plugin: 'kotlin-android'
2525

2626
android {
27-
compileSdkVersion 33
27+
compileSdk 34
2828

2929
namespace 'dev.fluttercommunity.plus.battery'
3030

@@ -38,9 +38,10 @@ android {
3838
}
3939

4040
defaultConfig {
41-
minSdkVersion 19
41+
minSdk 19
4242
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
4343
}
44+
4445
lintOptions {
4546
disable 'InvalidPackage'
4647
}

packages/battery_plus/battery_plus/example/android/app/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
2626
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2727

2828
android {
29-
compileSdkVersion 33
29+
compileSdk 34
3030

3131
namespace 'io.flutter.plugins.batteryexample.example'
3232

@@ -50,8 +50,8 @@ android {
5050
defaultConfig {
5151
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
5252
applicationId "io.flutter.plugins.batteryexample.example"
53-
minSdkVersion 19
54-
targetSdkVersion 33
53+
minSdk 19
54+
targetSdk 34
5555
versionCode flutterVersionCode.toInteger()
5656
versionName flutterVersionName
5757
}

0 commit comments

Comments
 (0)