mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-23 11:59:15 +01:00
77 lines
2.0 KiB
Groovy
77 lines
2.0 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
buildToolsVersion '30.0.2'
|
|
defaultConfig {
|
|
applicationId "skyline.emu"
|
|
minSdkVersion 26
|
|
targetSdkVersion 30
|
|
versionCode 3
|
|
versionName "0.3"
|
|
ndk {
|
|
abiFilters "arm64-v8a"
|
|
}
|
|
}
|
|
lintOptions {
|
|
disable 'IconLocation'
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
debuggable true
|
|
externalNativeBuild {
|
|
cmake {
|
|
arguments "-DCMAKE_BUILD_TYPE=RELEASE"
|
|
}
|
|
}
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
debug {
|
|
debuggable true
|
|
minifyEnabled false
|
|
shrinkResources false
|
|
}
|
|
}
|
|
androidExtensions {
|
|
experimental = true
|
|
}
|
|
externalNativeBuild {
|
|
cmake {
|
|
version "3.10.2+"
|
|
path "CMakeLists.txt"
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
}
|
|
ndkVersion '21.3.6528147'
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
|
|
implementation 'androidx.preference:preference:1.1.1'
|
|
implementation 'com.google.android.material:material:1.3.0-alpha02'
|
|
implementation "androidx.core:core-ktx:1.3.1"
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation 'androidx.documentfile:documentfile:1.0.1'
|
|
implementation 'info.debatty:java-string-similarity:1.2.1'
|
|
implementation(name: 'mbedtls', ext: 'aar')
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
flatDir {
|
|
dirs 'libraries'
|
|
}
|
|
}
|