68 lines
2.2 KiB
Plaintext
68 lines
2.2 KiB
Plaintext
plugins {
|
|
alias(libs.plugins.android.application)
|
|
|
|
}
|
|
|
|
android {
|
|
namespace = "core.notevault"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
applicationId = "core.notevault"
|
|
minSdk = 28
|
|
targetSdk = 34
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
|
}
|
|
debug {
|
|
// Setzt den Manifest-Platzhalter nur für den Debug-Build auf true
|
|
manifestPlaceholders["usesCleartextTraffic"] = "true"
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
buildFeatures {
|
|
viewBinding = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation(libs.appcompat)
|
|
implementation(libs.material)
|
|
implementation(libs.constraintlayout)
|
|
implementation(libs.lifecycle.livedata.ktx)
|
|
implementation(libs.lifecycle.viewmodel.ktx)
|
|
implementation(libs.navigation.fragment)
|
|
implementation(libs.navigation.ui)
|
|
implementation(libs.room.common)
|
|
implementation("androidx.recyclerview:recyclerview:1.3.2")
|
|
implementation("com.github.chrisbanes:PhotoView:2.3.0")
|
|
implementation(libs.car.ui.lib)
|
|
testImplementation(libs.junit)
|
|
androidTestImplementation(libs.ext.junit)
|
|
androidTestImplementation(libs.espresso.core)
|
|
implementation("com.squareup.retrofit2:retrofit:2.9.0")
|
|
implementation("com.squareup.retrofit2:converter-gson:2.9.0")
|
|
implementation("com.squareup.okhttp3:logging-interceptor:4.9.1")
|
|
|
|
|
|
val room_version = "2.6.1" // Aktuelle Room-Version
|
|
|
|
implementation("androidx.room:room-runtime:$room_version")
|
|
annotationProcessor("androidx.room:room-compiler:$room_version") // Für Annotation Processing
|
|
|
|
// Optional: Unterstützung für Kotlin Coroutines oder RxJava
|
|
implementation("androidx.room:room-ktx:$room_version") // Für Kotlin-Extensions
|
|
implementation("androidx.room:room-rxjava3:$room_version") // Für RxJava-Unterstützung
|
|
} |