William Brawner
2a9d96428a
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.
59 lines
No EOL
1.6 KiB
Text
59 lines
No EOL
1.6 KiB
Text
plugins {
|
|
alias(libs.plugins.android.library)
|
|
alias(libs.plugins.kotlin.android)
|
|
alias(libs.plugins.compose.compiler)
|
|
}
|
|
|
|
android {
|
|
namespace = "com.wbrawner.simplemarkdown.nonfree"
|
|
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"
|
|
)
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
lint {
|
|
disable += "AndroidGradlePluginVersion"
|
|
warningsAsErrors = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.androidx.core.ktx)
|
|
implementation(libs.billing)
|
|
api(libs.timber)
|
|
val composeBom = enforcedPlatform(libs.compose.bom)
|
|
implementation(composeBom)
|
|
androidTestImplementation(composeBom)
|
|
implementation(libs.androidx.compose.runtime.runtime)
|
|
implementation(libs.androidx.ui)
|
|
implementation(libs.foundation)
|
|
implementation(libs.foundation.layout)
|
|
implementation(libs.androidx.ui.graphics)
|
|
implementation(libs.androidx.ui.text)
|
|
implementation(libs.androidx.preference.ktx)
|
|
implementation(libs.play.review.ktx)
|
|
implementation(libs.androidx.ui.tooling)
|
|
implementation(libs.material3)
|
|
} |