2024-05-19 04:13:39 +00:00
|
|
|
plugins {
|
2024-07-12 04:00:13 +00:00
|
|
|
alias(libs.plugins.android.library)
|
|
|
|
alias(libs.plugins.kotlin.android)
|
|
|
|
alias(libs.plugins.compose.compiler)
|
2024-05-19 04:13:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "com.wbrawner.simplemarkdown.free"
|
2024-07-12 04:00:13 +00:00
|
|
|
compileSdk = libs.versions.maxSdk.get().toInt()
|
2024-05-19 04:13:39 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
2024-07-12 04:00:13 +00:00
|
|
|
minSdk = libs.versions.minSdk.get().toInt()
|
2024-05-19 04:13:39 +00:00
|
|
|
|
|
|
|
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 {
|
2024-07-12 04:00:13 +00:00
|
|
|
implementation(libs.timber)
|
|
|
|
val composeBom = enforcedPlatform(libs.compose.bom)
|
2024-05-19 04:13:39 +00:00
|
|
|
implementation(composeBom)
|
|
|
|
androidTestImplementation(composeBom)
|
2024-07-12 04:00:13 +00:00
|
|
|
implementation(libs.runtime)
|
2024-05-19 04:13:39 +00:00
|
|
|
}
|