2024-05-19 04:13:39 +00:00
|
|
|
plugins {
|
|
|
|
id("com.android.library")
|
|
|
|
id("org.jetbrains.kotlin.android")
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "com.wbrawner.simplemarkdown"
|
|
|
|
compileSdk = 34
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdk = 23
|
|
|
|
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
composeOptions {
|
|
|
|
kotlinCompilerExtensionVersion = "1.5.3"
|
|
|
|
}
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation("androidx.core:core-ktx:1.13.1")
|
|
|
|
implementation("com.android.billingclient:billing:6.0.1")
|
2024-05-19 04:30:55 +00:00
|
|
|
api("com.jakewharton.timber:timber:5.0.1")
|
2024-05-19 04:13:39 +00:00
|
|
|
val composeBom = platform("androidx.compose:compose-bom:2023.08.00")
|
|
|
|
implementation(composeBom)
|
|
|
|
androidTestImplementation(composeBom)
|
|
|
|
implementation("androidx.compose.runtime:runtime")
|
|
|
|
implementation("androidx.compose.ui:ui")
|
|
|
|
implementation("androidx.compose.foundation:foundation")
|
|
|
|
implementation("androidx.compose.foundation:foundation-layout")
|
2024-05-19 04:30:55 +00:00
|
|
|
implementation("androidx.compose.ui:ui-graphics")
|
|
|
|
implementation("androidx.compose.ui:ui-text")
|
|
|
|
implementation("androidx.preference:preference-ktx:1.2.1")
|
|
|
|
implementation("com.google.android.play:core:1.10.3")
|
2024-05-19 04:13:39 +00:00
|
|
|
implementation("androidx.compose.ui:ui-tooling")
|
|
|
|
implementation("androidx.compose.material3:material3")
|
|
|
|
}
|