droid48/app/build.gradle
2024-09-02 13:48:04 +02:00

55 lines
No EOL
1.4 KiB
Groovy

apply plugin: 'com.android.application'
android {
namespace 'org.ab.x48'
signingConfigs {
release {
def Properties localProps = new Properties()
localProps.load(new FileInputStream(file('../local.properties')))
assert localProps['droid48.store'];
storeFile file(localProps["droid48.store"])
keyAlias localProps["droid48.alias"]
storePassword localProps["droid48.storePass"]
keyPassword localProps["droid48.pass"]
}
}
compileSdk 34
ndkVersion "27.0.12077973"
defaultConfig {
applicationId "org.ab.x48"
minSdkVersion 21
targetSdkVersion 34
externalNativeBuild {
cmake {
arguments "-DANDROID_PLATFORM=android-21"
}
}
}
externalNativeBuild {
cmake {
path "src/main/jni/CMakeLists.txt"
}
}
buildTypes {
release {
//can't minify cause I use Java names on JNI side
//minifyEnabled true
//proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
debug {
debuggable true
jniDebuggable true
minifyEnabled false
shrinkResources false
}
}
}
dependencies {
implementation 'com.getkeepsafe.relinker:relinker:1.4.5'
}