2023-07-09 22:09:23 +00:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
|
|
|
id 'org.jetbrains.kotlin.android'
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2023-07-14 19:28:59 +00:00
|
|
|
namespace 'emu.zenith'
|
2023-07-19 02:36:02 +00:00
|
|
|
compileSdk 33
|
2023-07-09 22:09:23 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
2023-07-14 19:28:59 +00:00
|
|
|
applicationId 'emu.zenith'
|
2023-07-09 22:09:23 +00:00
|
|
|
minSdk 30
|
2023-07-19 02:36:02 +00:00
|
|
|
//noinspection OldTargetApi
|
|
|
|
targetSdk 33
|
2023-07-09 22:09:23 +00:00
|
|
|
versionCode 111
|
|
|
|
versionName '1.1.1'
|
|
|
|
|
|
|
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
|
|
|
|
|
|
|
ndk {
|
|
|
|
//noinspection ChromeOsAbiSupport
|
|
|
|
abiFilters 'arm64-v8a'
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
debuggable false
|
|
|
|
minifyEnabled true
|
|
|
|
shrinkResources true
|
2023-07-19 02:36:02 +00:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
arguments '-DCMAKE_BUILD_TYPE=Release'
|
|
|
|
}
|
|
|
|
}
|
2023-07-09 22:09:23 +00:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
|
|
|
|
signingConfig = signingConfigs.debug
|
|
|
|
}
|
|
|
|
relwdbg {
|
|
|
|
debuggable true
|
|
|
|
minifyEnabled true
|
|
|
|
shrinkResources true
|
2023-07-19 02:36:02 +00:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
arguments '-DCMAKE_BUILD_TYPE=Release'
|
|
|
|
}
|
|
|
|
}
|
2023-07-09 22:09:23 +00:00
|
|
|
|
|
|
|
signingConfig = signingConfigs.debug
|
|
|
|
}
|
|
|
|
|
|
|
|
debug {
|
|
|
|
debuggable true
|
|
|
|
minifyEnabled false
|
|
|
|
shrinkResources false
|
|
|
|
}
|
|
|
|
}
|
2023-07-19 02:36:02 +00:00
|
|
|
|
2023-07-09 22:09:23 +00:00
|
|
|
compileOptions {
|
2023-07-19 02:36:02 +00:00
|
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
|
|
targetCompatibility JavaVersion.VERSION_11
|
2023-07-09 22:09:23 +00:00
|
|
|
}
|
|
|
|
kotlinOptions {
|
2023-07-19 02:36:02 +00:00
|
|
|
jvmTarget = '11'
|
2023-07-09 22:09:23 +00:00
|
|
|
}
|
2023-07-19 02:36:02 +00:00
|
|
|
|
|
|
|
ndkVersion '25.1.8937393'
|
2023-07-09 22:09:23 +00:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
path file('src/main/CMakeLists.txt')
|
|
|
|
version '3.22.1'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
buildFeatures {
|
|
|
|
viewBinding true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'androidx.core:core-ktx:1.10.1'
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
|
|
implementation 'com.google.android.material:material:1.9.0'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
2023-07-14 19:28:59 +00:00
|
|
|
implementation 'androidx.test:monitor:1.6.1'
|
2023-07-09 22:09:23 +00:00
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
|
|
}
|