SimpleMarkdown/free/build.gradle.kts
William Brawner 880393104f
Migrate to Gradle version catalogs
I snuck a couple of other updates in here as well, like Kotlin 2.0 and Play Core 2.0.1
2024-07-11 22:00:13 -06:00

44 lines
No EOL
1.1 KiB
Text

plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.compose.compiler)
}
android {
namespace = "com.wbrawner.simplemarkdown.free"
compileSdk = libs.versions.maxSdk.get().toInt()
defaultConfig {
minSdk = libs.versions.minSdk.get().toInt()
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
buildFeatures {
compose = true
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
}
dependencies {
implementation(libs.timber)
val composeBom = enforcedPlatform(libs.compose.bom)
implementation(composeBom)
androidTestImplementation(composeBom)
implementation(libs.runtime)
}