William Brawner
9b6a5ba2be
All checks were successful
Build & Test / Validate (pull_request) Successful in 18s
Build & Test / Run Unit Tests (pull_request) Successful in 8m51s
Build & Test / Run UI Tests (pull_request) Successful in 12m40s
Build & Test / Validate (push) Successful in 17s
Build & Test / Run Unit Tests (push) Successful in 9m12s
Build & Test / Run UI Tests (push) Successful in 14m57s
I've already configured Renovate to automatically keep the dependencies up to date so I don't need the lint to be failing builds because of outdated dependencies.
48 lines
No EOL
1.2 KiB
Text
48 lines
No EOL
1.2 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"
|
|
}
|
|
lint {
|
|
disable += listOf("AndroidGradlePluginVersion", "GradleDependency")
|
|
warningsAsErrors = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.timber)
|
|
val composeBom = enforcedPlatform(libs.compose.bom)
|
|
implementation(composeBom)
|
|
androidTestImplementation(composeBom)
|
|
implementation(libs.runtime)
|
|
} |