safetynet-fix/java_module/app/build.gradle
Danny Lin b0416cd3aa
java: Initial implementation of high-level module payload
R8 minification is essential for this, because otherwise the Kotlin
standard library is too big and results in the app compiling to multiple
dex files. It's not impossible to load multiple dex buffers, but let's
keep it simple here.
2021-09-06 02:39:14 -07:00

38 lines
839 B
Groovy

plugins {
id 'com.android.application'
id 'kotlin-android'
}
android {
compileSdk 31
defaultConfig {
applicationId "dev.kdrag0n.safetynetriru"
minSdk 24
targetSdk 31
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.debug
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
}
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.5.21'
}