2019-06-29 02:35:14 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 29
|
|
|
|
buildToolsVersion "29.0.0"
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "gq.cyuubi.lightswitch"
|
2019-07-03 01:19:45 +02:00
|
|
|
minSdkVersion 21
|
2019-06-29 02:35:14 +02:00
|
|
|
targetSdkVersion 29
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
cppFlags ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ndk {
|
2019-07-02 23:32:20 +02:00
|
|
|
abiFilters "arm64-v8a"
|
2019-06-29 02:35:14 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
path "CMakeLists.txt"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
jni.srcDirs = ['src/main/cpp/unicorn/lib']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.0.2'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
2019-07-03 01:19:45 +02:00
|
|
|
implementation 'androidx.preference:preference:1.1.0-beta01'
|
2019-06-29 02:35:14 +02:00
|
|
|
}
|