55 lines
1.5 KiB
Groovy
55 lines
1.5 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
}
|
|
|
|
android {
|
|
namespace 'com.alfred.demo'
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
minSdk 21
|
|
targetSdk 33
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
vectorDrawables {
|
|
useSupportLibrary true
|
|
}
|
|
}
|
|
|
|
buildFeatures {
|
|
buildConfig true
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '17'
|
|
}
|
|
packagingOptions {
|
|
resources {
|
|
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.appcompat:appcompat:1.4.0'
|
|
implementation 'androidx.core:core-ktx:1.8.0'
|
|
implementation 'com.google.android.material:material:1.8.0'
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0'
|
|
implementation 'com.google.code.gson:gson:2.10.1'
|
|
implementation project(path: ':navi-alfred')
|
|
implementation "com.github.anrwatchdog:anrwatchdog:1.4.0"
|
|
|
|
testImplementation "junit:junit:4.13.2"
|
|
androidTestImplementation "androidx.test.ext:junit:1.1.4"
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
} |