2019-06-29 03:35:14 +03:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 29
|
|
|
|
buildToolsVersion "29.0.0"
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "gq.cyuubi.lightswitch"
|
2019-07-03 02:19:45 +03:00
|
|
|
minSdkVersion 21
|
2019-06-29 03:35:14 +03:00
|
|
|
targetSdkVersion 29
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
cppFlags ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ndk {
|
2019-07-03 00:32:20 +03:00
|
|
|
abiFilters "arm64-v8a"
|
2019-06-29 03:35:14 +03: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 02:19:45 +03:00
|
|
|
implementation 'androidx.preference:preference:1.1.0-beta01'
|
2019-07-03 21:44:28 +03:00
|
|
|
implementation 'com.google.android.material:material:1.0.0'
|
2019-06-29 03:35:14 +03:00
|
|
|
}
|