cosmic-station/app/build.gradle

90 lines
2.2 KiB
Groovy
Raw Normal View History

2023-07-09 22:09:23 +00:00
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
}
android {
namespace 'emu.zenith'
compileSdk 33
2023-07-09 22:09:23 +00:00
defaultConfig {
applicationId 'emu.zenith'
2023-07-09 22:09:23 +00:00
minSdk 30
//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
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
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-09 22:09:23 +00:00
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
2023-07-09 22:09:23 +00:00
}
kotlinOptions {
jvmTarget = '11'
2023-07-09 22:09:23 +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'
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'
}