Upgrade minSdk

This commit is contained in:
Nullptr 2023-07-22 20:01:27 +08:00
parent 6daa337810
commit 0d63ce21a8
No known key found for this signature in database
2 changed files with 8 additions and 10 deletions

View File

@ -6,11 +6,11 @@ plugins {
android { android {
namespace = "io.github.libxposed.service" namespace = "io.github.libxposed.service"
compileSdk = 33 compileSdk = 34
buildToolsVersion = "33.0.1" buildToolsVersion = "34.0.0"
defaultConfig { defaultConfig {
minSdk = 21 minSdk = 24
} }
buildFeatures { buildFeatures {
@ -20,8 +20,8 @@ android {
} }
compileOptions { compileOptions {
targetCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_1_8 sourceCompatibility = JavaVersion.VERSION_11
} }
publishing { publishing {

View File

@ -6,11 +6,11 @@ plugins {
android { android {
namespace = "io.github.libxposed.service" namespace = "io.github.libxposed.service"
compileSdk = 33 compileSdk = 34
buildToolsVersion = "33.0.1" buildToolsVersion = "34.0.0"
defaultConfig { defaultConfig {
minSdk = 21 minSdk = 24
} }
buildFeatures { buildFeatures {
@ -19,7 +19,6 @@ android {
} }
compileOptions { compileOptions {
isCoreLibraryDesugaringEnabled = true
sourceCompatibility = JavaVersion.VERSION_11 sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11
} }
@ -35,7 +34,6 @@ android {
dependencies { dependencies {
implementation(project(":interface")) implementation(project(":interface"))
compileOnly("androidx.annotation:annotation:1.6.0") compileOnly("androidx.annotation:annotation:1.6.0")
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.3")
} }
publishing { publishing {