graypause/app/build.gradle
Loïc Wisniewski 41f8462ffe 1.5: shrink and optimize release builds with R8
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>
2026-10-06 19:46:30 +02:00

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"
}