Release APK goes from 115 KB to 47 KB. Shizuku.newProcess is kept explicitly because ShizukuGrant reaches it by reflection. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
41 lines
930 B
Groovy
41 lines
930 B
Groovy
plugins {
|
|
id "com.android.application"
|
|
}
|
|
|
|
android {
|
|
namespace "com.lpw.graypause"
|
|
compileSdk 36
|
|
|
|
defaultConfig {
|
|
applicationId "com.lpw.graypause"
|
|
minSdk 33
|
|
targetSdk 36
|
|
versionCode 6
|
|
versionName "1.5"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
|
|
// F-Droid: no Google-encrypted dependency metadata blob in the APK.
|
|
dependenciesInfo {
|
|
includeInApk false
|
|
includeInBundle false
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
def shizuku = "13.1.5"
|
|
implementation "dev.rikka.shizuku:api:$shizuku"
|
|
implementation "dev.rikka.shizuku:provider:$shizuku"
|
|
}
|