Skip to content

Commit

Permalink
opt codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fan095 committed Jan 19, 2025
1 parent 4dc0e33 commit c21c591
Showing 1 changed file with 34 additions and 6 deletions.
40 changes: 34 additions & 6 deletions provision/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ android {

defaultConfig {
minSdk = 33

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
}

buildTypes {
Expand All @@ -21,10 +18,41 @@ android {
"proguard-rules.pro"
)
}

release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
create("beta") {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
create("canary") {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
debug {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_22
targetCompatibility = JavaVersion.VERSION_22

java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
}

Expand Down

0 comments on commit c21c591

Please sign in to comment.