2019-06-29 03:35:14 +03:00
|
|
|
apply plugin: 'com.android.application'
|
2019-12-02 16:39:08 +03:00
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2019-06-29 03:35:14 +03:00
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 29
|
2020-03-08 15:28:18 +03:00
|
|
|
buildToolsVersion '29.0.3'
|
2019-06-29 03:35:14 +03:00
|
|
|
defaultConfig {
|
2019-09-24 23:54:27 +03:00
|
|
|
applicationId "skyline.emu"
|
2019-11-15 21:14:40 +03:00
|
|
|
minSdkVersion 26
|
2019-06-29 03:35:14 +03:00
|
|
|
targetSdkVersion 29
|
2019-10-18 13:52:38 +03:00
|
|
|
versionCode 3
|
|
|
|
versionName "0.3"
|
2019-06-29 03:35:14 +03:00
|
|
|
ndk {
|
2019-07-03 00:32:20 +03:00
|
|
|
abiFilters "arm64-v8a"
|
2019-06-29 03:35:14 +03:00
|
|
|
}
|
|
|
|
}
|
2019-12-02 16:39:08 +03:00
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
}
|
2019-06-29 03:35:14 +03:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2019-10-18 13:52:38 +03:00
|
|
|
debuggable true
|
Framebuffer and NativeActivity
What was added:
* Framebuffer
* NativeActivity
* NV Services
* IOCTL Handler
* NV Devices:
* * /dev/nvmap - 0xC0080101, 0xC0080103, 0xC0200104, 0xC0180105, 0xC00C0109, 0xC008010E
* * /dev/nvhost-as-gpu
* * /dev/nvhost-channel - 0x40044801, 0xC0104809, 0xC010480B, 0xC018480C, 0x4004480D, 0xC020481A, 0x40084714
* * /dev/nvhost-ctrl
* * /dev/nvhost-ctrl-gpu - 0x80044701, 0x80284702, 0xC0184706, 0xC0B04705, 0x80084714
* SVCs:
* * SetMemoryAttribute
* * CreateTransferMemory
* * ResetSignal
* * GetSystemTick
* Addition of Compact Logger
What was fixed:
* SVCs:
* * SetHeapSize
* * SetMemoryAttribute
* * QueryMemory
* A release build would not set CMAKE_BUILD_TYPE to "RELEASE"
* The logger code was simplified
2019-11-13 23:09:31 +03:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
arguments "-DCMAKE_BUILD_TYPE=RELEASE"
|
|
|
|
}
|
|
|
|
}
|
2019-07-24 23:19:43 +03:00
|
|
|
minifyEnabled true
|
2019-10-18 13:52:38 +03:00
|
|
|
shrinkResources true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
signingConfig signingConfigs.debug
|
2019-07-24 23:19:43 +03:00
|
|
|
}
|
|
|
|
debug {
|
2019-10-18 13:52:38 +03:00
|
|
|
debuggable true
|
2019-06-29 03:35:14 +03:00
|
|
|
minifyEnabled false
|
2019-10-18 13:52:38 +03:00
|
|
|
shrinkResources false
|
2019-06-29 03:35:14 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
2019-12-02 20:40:53 +03:00
|
|
|
version "3.10.2+"
|
2019-06-29 03:35:14 +03:00
|
|
|
path "CMakeLists.txt"
|
|
|
|
}
|
|
|
|
}
|
2019-09-24 23:54:27 +03:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
targetCompatibility = 1.8
|
|
|
|
}
|
2020-03-08 15:28:18 +03:00
|
|
|
ndkVersion '21.0.6113669'
|
2019-06-29 03:35:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
2019-09-24 23:54:27 +03:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
2019-06-29 03:35:14 +03:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
2019-09-24 23:54:27 +03:00
|
|
|
implementation 'androidx.preference:preference:1.1.0'
|
2020-03-08 15:28:18 +03:00
|
|
|
implementation 'com.google.android.material:material:1.2.0-alpha05'
|
2019-07-24 23:19:43 +03:00
|
|
|
implementation 'me.xdrop:fuzzywuzzy:1.2.0'
|
2020-03-08 15:28:18 +03:00
|
|
|
implementation "androidx.core:core-ktx:1.2.0"
|
2019-12-02 16:39:08 +03:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
2019-12-10 23:51:02 +03:00
|
|
|
implementation 'androidx.documentfile:documentfile:1.0.1'
|
2019-12-02 16:39:08 +03:00
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2019-06-29 03:35:14 +03:00
|
|
|
}
|