Files
alfred-android/app/build.gradle

70 lines
1.8 KiB
Groovy
Raw Normal View History

2023-04-19 18:10:46 +05:30
plugins {
2024-01-04 17:55:52 +05:30
alias libs.plugins.android.application
alias libs.plugins.kotlin.android
2023-04-19 18:10:46 +05:30
}
def VERSION_CODE = 1
def VERSION_NAME = "1.0.0"
2023-04-19 18:10:46 +05:30
android {
namespace 'com.navi.alfred.demo'
compileSdk 34
2023-04-19 18:10:46 +05:30
defaultConfig {
applicationId 'com.navi.alfred.demo'
2024-05-14 11:29:41 -07:00
minSdk 23
targetSdk 34
versionCode VERSION_CODE
versionName VERSION_NAME
2023-04-19 18:10:46 +05:30
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
signingConfigs {
debug {
storeFile file('../keystore/navi-debug-key.jks')
storePassword "android"
keyAlias "androiddebugkey"
keyPassword "android"
}
release {
storeFile file('../keystore/navi-non-prod-release-key.jks')
storePassword "android"
keyAlias "navi"
keyPassword "android"
}
}
2023-04-19 18:10:46 +05:30
buildTypes {
release {
debuggable false
minifyEnabled true
shrinkResources true
2023-04-19 18:10:46 +05:30
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
2023-04-19 18:10:46 +05:30
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
2023-04-19 18:10:46 +05:30
}
kotlinOptions {
freeCompilerArgs += ["-Xstring-concat=inline"]
jvmTarget = '17'
2023-04-19 18:10:46 +05:30
}
packagingOptions {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
2023-04-19 18:10:46 +05:30
}
}
}
dependencies {
2024-01-04 17:55:52 +05:30
implementation project(':navi-alfred')
implementation libs.android.material
implementation libs.androidx.appcompat
implementation libs.androidx.core.ktx
implementation libs.androidx.lifecycle.viewmodel.ktx
implementation libs.anrwatchdog
implementation libs.gson
}