81 lines
2.3 KiB
Kotlin
81 lines
2.3 KiB
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
kotlin("kapt")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.docmost.app"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
applicationId = "com.docmost.app"
|
|
minSdk = 26
|
|
targetSdk = 34
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = true
|
|
isShrinkResources = true
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
|
|
buildFeatures {
|
|
viewBinding = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("androidx.core:core-ktx:1.12.0")
|
|
implementation("androidx.appcompat:appcompat:1.6.1")
|
|
implementation("com.google.android.material:material:1.11.0")
|
|
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
|
|
implementation("androidx.recyclerview:recyclerview:1.3.2")
|
|
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0")
|
|
implementation("androidx.activity:activity-ktx:1.8.2")
|
|
implementation("com.google.code.gson:gson:2.10.1")
|
|
implementation("com.squareup.okhttp3:okhttp:4.12.0")
|
|
|
|
// Biometric authentication
|
|
implementation("androidx.biometric:biometric:1.1.0")
|
|
|
|
// Encrypted SharedPreferences
|
|
implementation("androidx.security:security-crypto:1.0.0")
|
|
|
|
// SwipeRefreshLayout
|
|
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
|
|
|
|
// Markwon - Markdown rendering
|
|
implementation("io.noties.markwon:core:4.6.2")
|
|
implementation("io.noties.markwon:ext-strikethrough:4.6.2")
|
|
implementation("io.noties.markwon:ext-tables:4.6.2")
|
|
implementation("io.noties.markwon:ext-tasklist:4.6.2")
|
|
|
|
// Coil - Image loading
|
|
implementation("io.coil-kt:coil:2.7.0")
|
|
|
|
// Room - Local database for sync queue
|
|
implementation("androidx.room:room-runtime:2.6.1")
|
|
implementation("androidx.room:room-ktx:2.6.1")
|
|
kapt("androidx.room:room-compiler:2.6.1")
|
|
|
|
// WorkManager - Background sync
|
|
implementation("androidx.work:work-runtime-ktx:2.9.0")
|
|
}
|