Skip to content

Commit

Permalink
fix(battery_plus): Revert bump of compileSDK to 34 (#2228)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbuberen committed Oct 7, 2023
1 parent 2ba5b05 commit e834f58
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/battery_plus/battery_plus/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion 34
compileSdkVersion 33

namespace 'dev.fluttercommunity.plus.battery'

Expand All @@ -47,5 +47,5 @@ android {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "androidx.core:core-ktx:1.12.0"
implementation "androidx.core:core-ktx:1.10.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,17 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 34
compileSdkVersion 33

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

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = '1.8'
}

sourceSets {
Expand Down

0 comments on commit e834f58

Please sign in to comment.