SimpleMarkdown/free/build.gradle.kts

48 lines
1.2 KiB
Text
Raw Normal View History

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()
2024-08-23 23:33:09 +00:00
consumerProguardFiles("consumer-rules.pro")
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
buildFeatures {
compose = true
}
compileOptions {
2024-10-02 03:17:34 +00:00
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
2024-10-02 03:17:34 +00:00
jvmTarget = "11"
}
2024-08-01 02:17:14 +00:00
lint {
disable += listOf("AndroidGradlePluginVersion", "GradleDependency")
2024-08-01 02:17:14 +00:00
warningsAsErrors = true
}
}
dependencies {
implementation(libs.timber)
val composeBom = enforcedPlatform(libs.compose.bom)
implementation(composeBom)
androidTestImplementation(composeBom)
implementation(libs.runtime)
}