gradle: warning fix

This commit is contained in:
Yuriy Liskov
2025-05-02 02:56:42 +03:00
parent 4b00e4f771
commit a138a1280e
3 changed files with 8 additions and 2 deletions

View File

@ -15,6 +15,12 @@ apply from: '../../constants.gradle'
apply plugin: 'com.android.library'
android {
// MOD: FIX warning: source value 7 is obsolete and will be removed in a future release
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
compileSdkVersion project.ext.compileSdkVersion
defaultConfig {

View File

@ -1,7 +1,7 @@
android.enableJetifier = true
android.useAndroidX = true
# Jetifier with Robolectric transform fix:
# Add android.jetifier.blacklist=bcprov or android.enableJetifier=false to gradle.properties. or upgrade to 7.1.x of AGP.
# Add android.jetifier.blacklist=bcprov or android.enableJetifier=false to gradle.properties. or upgrade to 7.1.x of AGP (Android Gradle Plugin).
android.jetifier.blacklist=bcprov
# Get ready for minification (NoSuchMethodError on kivi???)
#android.enableR8.fullMode=true