enable Java 17 language features
This commit is contained in:
parent
10c47d86e9
commit
30d681bcb8
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue