NoteVault/app/build.gradle.kts

69 lines
2.2 KiB
Plaintext
Raw Permalink Normal View History

2024-10-15 13:47:40 +00:00
plugins {
alias(libs.plugins.android.application)
2024-10-31 17:43:58 +00:00
2024-10-15 13:47:40 +00:00
}
android {
namespace = "core.notevault"
compileSdk = 35
2024-10-15 13:47:40 +00:00
defaultConfig {
applicationId = "core.notevault"
2024-11-02 08:37:07 +00:00
minSdk = 28
targetSdk = 35
2024-10-15 13:47:40 +00:00
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
2024-11-03 17:54:53 +00:00
debug {
// Setzt den Manifest-Platzhalter nur für den Debug-Build auf true
manifestPlaceholders["usesCleartextTraffic"] = "true"
}
2024-10-15 13:47:40 +00:00
}
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)
2024-10-31 18:25:10 +00:00
implementation("androidx.recyclerview:recyclerview:1.3.2")
2024-10-31 20:05:40 +00:00
implementation("com.github.chrisbanes:PhotoView:2.3.0")
2024-11-02 08:37:07 +00:00
implementation(libs.car.ui.lib)
2024-10-15 13:47:40 +00:00
testImplementation(libs.junit)
androidTestImplementation(libs.ext.junit)
androidTestImplementation(libs.espresso.core)
2024-11-03 17:54:53 +00:00
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")
2024-10-15 13:47:40 +00:00
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
implementation("androidx.work:work-runtime:2.10.0")
2024-10-15 13:47:40 +00:00
}