Skip to content

Commit

Permalink
Bump Java to 17, enable desugaring
Browse files Browse the repository at this point in the history
  • Loading branch information
CominAtYou committed Feb 3, 2024
1 parent 73f0b23 commit b685430
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ android {
targetSdk 34
versionCode 9
versionName "1.5.0"
multiDexEnabled true

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand All @@ -24,14 +25,15 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
namespace 'com.cominatyou.batterytile'
}

dependencies {

coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.11.0'
testImplementation 'junit:junit:4.13.2'
Expand Down

0 comments on commit b685430

Please sign in to comment.