droid48/app/build.gradle

55 lines
1.4 KiB
Groovy
Raw Permalink Normal View History

2018-03-07 23:02:23 +01:00
apply plugin: 'com.android.application'
android {
2023-03-22 21:55:55 +01:00
namespace 'org.ab.x48'
2019-09-24 00:20:38 +02:00
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"]
}
}
2024-04-04 18:15:38 +02:00
compileSdk 34
2024-09-02 13:48:04 +02:00
ndkVersion "27.0.12077973"
2016-02-21 19:01:58 +01:00
2018-03-07 23:02:23 +01:00
defaultConfig {
applicationId "org.ab.x48"
2024-04-04 18:15:38 +02:00
minSdkVersion 21
targetSdkVersion 34
2018-03-07 23:02:23 +01:00
externalNativeBuild {
cmake {
2024-04-04 18:15:38 +02:00
arguments "-DANDROID_PLATFORM=android-21"
2018-03-07 23:02:23 +01:00
}
2016-02-21 19:01:58 +01:00
}
2018-03-07 23:02:23 +01:00
}
2016-02-21 19:01:58 +01:00
2018-03-07 23:02:23 +01:00
externalNativeBuild {
cmake {
path "src/main/jni/CMakeLists.txt"
2016-02-21 19:01:58 +01:00
}
2018-03-07 23:02:23 +01:00
}
2016-02-21 19:01:58 +01:00
2022-10-16 17:43:39 +02:00
buildTypes {
release {
2022-10-16 20:43:05 +02:00
//can't minify cause I use Java names on JNI side
//minifyEnabled true
//proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2022-10-16 17:43:39 +02:00
signingConfig signingConfigs.release
}
2023-03-22 21:55:55 +01:00
debug {
debuggable true
jniDebuggable true
minifyEnabled false
shrinkResources false
}
2022-10-16 17:43:39 +02:00
}
}
dependencies {
2022-10-16 17:02:24 +02:00
implementation 'com.getkeepsafe.relinker:relinker:1.4.5'
2016-02-21 19:01:58 +01:00
}