2018-03-07 23:02:23 +01:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
android {
|
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"]
|
|
|
|
}
|
|
|
|
}
|
2022-10-16 17:02:24 +02:00
|
|
|
compileSdkVersion 31
|
|
|
|
ndkVersion "25.1.8937393"
|
2016-02-21 19:01:58 +01:00
|
|
|
|
2018-03-07 23:02:23 +01:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "org.ab.x48"
|
|
|
|
minSdkVersion 16
|
2022-10-16 17:02:24 +02:00
|
|
|
targetSdkVersion 31
|
2018-03-07 23:02:23 +01:00
|
|
|
|
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
arguments "-DANDROID_PLATFORM=android-16"
|
|
|
|
}
|
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 {
|
|
|
|
minifyEnabled true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-18 23:37:14 +01: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
|
|
|
}
|