mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-19 19:29:18 +01:00
44 lines
1.0 KiB
Groovy
44 lines
1.0 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion "29.0.0"
|
|
defaultConfig {
|
|
applicationId "gq.cyuubi.lightswitch"
|
|
minSdkVersion 22
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
externalNativeBuild {
|
|
cmake {
|
|
cppFlags ""
|
|
}
|
|
}
|
|
ndk {
|
|
abiFilters "arm64-v8a"
|
|
}
|
|
}
|
|
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'
|
|
}
|