Skip to content
Snippets Groups Projects
Unverified Commit 30d681bc authored by Daniel Gultsch's avatar Daniel Gultsch
Browse files

enable Java 17 language features

parent 10c47d86
Branches
Tags
No related merge requests found
......@@ -31,6 +31,8 @@ configurations {
}
dependencies {
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.3'
implementation 'androidx.viewpager:viewpager:1.0.0'
playstoreImplementation('com.google.firebase:firebase-messaging:23.3.0') {
......@@ -121,8 +123,9 @@ android {
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
flavorDimensions("mode", "distribution")
......@@ -231,7 +234,7 @@ android {
}
}
lint {
disable 'MissingTranslation', 'InvalidPackage', 'AppCompatResource', 'ExtraTranslation'
disable 'MissingTranslation', 'InvalidPackage', 'AppCompatResource'
}
buildFeatures {
buildConfig true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment