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 {
|
2024-07-11 03:56:20 +00:00
|
|
|
namespace = "com.wbrawner.simplemarkdown.nonfree"
|
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"
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
2024-10-02 03:17:34 +00:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
|
|
targetCompatibility = JavaVersion.VERSION_11
|
2024-05-19 04:13:39 +00:00
|
|
|
}
|
|
|
|
buildFeatures {
|
|
|
|
compose = true
|
|
|
|
}
|
|
|
|
kotlinOptions {
|
2024-10-02 03:17:34 +00:00
|
|
|
jvmTarget = "11"
|
2024-05-19 04:13:39 +00:00
|
|
|
}
|
2024-08-01 02:17:14 +00:00
|
|
|
lint {
|
2024-08-22 04:10:34 +00:00
|
|
|
disable += listOf("AndroidGradlePluginVersion", "GradleDependency")
|
2024-08-01 02:17:14 +00:00
|
|
|
warningsAsErrors = true
|
|
|
|
}
|
2024-05-19 04:13:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-07-12 04:00:13 +00:00
|
|
|
implementation(libs.androidx.core.ktx)
|
|
|
|
implementation(libs.billing)
|
|
|
|
api(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.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)
|
2024-05-19 04:13:39 +00:00
|
|
|
}
|