mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-09-30 01:38:38 +02:00
9db0c20c92
This commit converts all Java code to Kotlin and improves the structure and performance of most rewritten parts.
65 lines
1.7 KiB
Groovy
65 lines
1.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion '29.0.2'
|
|
defaultConfig {
|
|
applicationId "skyline.emu"
|
|
minSdkVersion 26
|
|
targetSdkVersion 29
|
|
versionCode 3
|
|
versionName "0.3"
|
|
ndk {
|
|
abiFilters "arm64-v8a"
|
|
}
|
|
}
|
|
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
|
|
}
|
|
}
|
|
externalNativeBuild {
|
|
cmake {
|
|
version "3.8.0+"
|
|
path "CMakeLists.txt"
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
implementation 'androidx.preference:preference:1.1.0'
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
implementation 'me.xdrop:fuzzywuzzy:1.2.0'
|
|
implementation "androidx.core:core-ktx:1.1.0"
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|