skerge/app/build.gradle.kts

72 lines
2.1 KiB
Text
Raw Normal View History

2021-07-09 00:15:24 +00:00
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.compose.compiler)
2021-07-09 00:15:24 +00:00
}
android {
namespace = "com.wbrawner.skerge"
compileSdk = libs.versions.maxSdk.get().toInt()
2021-07-09 00:15:24 +00:00
defaultConfig {
applicationId = "com.wbrawner.skerge"
minSdk = libs.versions.minSdk.get().toInt()
targetSdk = libs.versions.maxSdk.get().toInt()
2024-09-05 02:11:36 +00:00
versionCode = 2
versionName = "1.1"
2021-07-09 00:15:24 +00:00
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary = true
}
}
packaging {
2021-07-09 00:15:24 +00:00
resources.pickFirsts.addAll(listOf("META-INF/AL2.0", "META-INF/LGPL2.1"))
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
buildFeatures {
compose = true
}
lint {
disable += listOf("AndroidGradlePluginVersion", "GradleDependency")
warningsAsErrors = true
2021-07-09 00:15:24 +00:00
}
}
dependencies {
val composeBom = enforcedPlatform(libs.compose.bom)
implementation(composeBom)
implementation(libs.androidx.activity.compose)
implementation(libs.androidx.appcompat)
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.lifecycle.runtime.ktx)
implementation(libs.androidx.preference.ktx)
implementation(libs.compose.material3)
implementation(libs.compose.ui)
implementation(libs.compose.ui.tooling)
implementation(libs.ktor.client.android)
implementation(libs.ktor.client.cio)
androidTestImplementation(composeBom)
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.ui.test.junit4)
androidTestImplementation(libs.ktor.client.mock)
testImplementation(libs.junit)
2021-07-09 00:15:24 +00:00
}