mirror of
https://github.com/shadergz/cosmic-station.git
synced 2024-11-23 14:19:39 +00:00
90 lines
2.2 KiB
Groovy
90 lines
2.2 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
}
|
|
|
|
android {
|
|
namespace 'emu.zenith'
|
|
compileSdk 33
|
|
|
|
defaultConfig {
|
|
applicationId 'emu.zenith'
|
|
minSdk 30
|
|
//noinspection OldTargetApi
|
|
targetSdk 33
|
|
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'
|
|
}
|
|
}
|
|
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'
|
|
}
|
|
}
|
|
|
|
signingConfig = signingConfigs.debug
|
|
}
|
|
|
|
debug {
|
|
debuggable true
|
|
minifyEnabled false
|
|
shrinkResources false
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '11'
|
|
}
|
|
|
|
ndkVersion '25.1.8937393'
|
|
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'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
} |