mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-29 19:21:52 +01:00
59 lines
1.4 KiB
Groovy
59 lines
1.4 KiB
Groovy
plugins {
|
|
alias(libs.plugins.androidLibrary)
|
|
alias(libs.plugins.jetbrainsKotlinAndroid)
|
|
}
|
|
|
|
android {
|
|
namespace 'com.vitorpamplona.ammolite'
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
minSdk 26
|
|
targetSdk 34
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
buildFeatures {
|
|
buildConfig = true
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
create("benchmark") {
|
|
initWith(getByName("release"))
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '17'
|
|
freeCompilerArgs += "-Xstring-concat=inline"
|
|
}
|
|
packagingOptions {
|
|
resources {
|
|
excludes += ['**/libscrypt.dylib']
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation libs.androidx.core.ktx
|
|
implementation libs.androidx.appcompat
|
|
implementation libs.material
|
|
implementation project(path: ':quartz')
|
|
implementation libs.androidx.runtime.runtime
|
|
testImplementation libs.junit
|
|
androidTestImplementation libs.androidx.junit
|
|
androidTestImplementation libs.androidx.espresso.core
|
|
|
|
implementation libs.okhttp
|
|
} |