The whole App has essentially been rebuilt to use compose Reviewed-on: #1 Co-authored-by: Clara Dautermann <git@cdaut.de> Co-committed-by: Clara Dautermann <git@cdaut.de>
79 lines
No EOL
2.3 KiB
Kotlin
79 lines
No EOL
2.3 KiB
Kotlin
plugins {
|
|
alias(libs.plugins.android.application)
|
|
alias(libs.plugins.kotlin.android)
|
|
alias(libs.plugins.compose.compiler)
|
|
}
|
|
|
|
android {
|
|
namespace = "de.cdaut.dbtapp"
|
|
compileSdk = 35
|
|
|
|
defaultConfig {
|
|
applicationId = "de.cdaut.dbtapp"
|
|
minSdk = 26
|
|
targetSdk = 35
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "11"
|
|
}
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
val composeBom = platform("androidx.compose:compose-bom:2025.05.00")
|
|
implementation(composeBom)
|
|
androidTestImplementation(composeBom)
|
|
|
|
// Material Design 3
|
|
implementation(libs.androidx.material3)
|
|
|
|
// Android Studio Preview support
|
|
implementation(libs.androidx.ui.tooling.preview)
|
|
debugImplementation(libs.androidx.ui.tooling)
|
|
|
|
// UI Tests
|
|
androidTestImplementation(libs.androidx.ui.test.junit4)
|
|
debugImplementation(libs.androidx.ui.test.manifest)
|
|
|
|
// Optional - Included automatically by material, only add when you need
|
|
// the icons but not the material library (e.g. when using Material3 or a
|
|
// custom design system based on Foundation)
|
|
implementation(libs.androidx.material.icons.core)
|
|
// Optional - Add full set of material icons
|
|
implementation(libs.androidx.material.icons.extended)
|
|
// Optional - Add window size utils
|
|
implementation(libs.androidx.adaptive)
|
|
// Optional - Integration with activities
|
|
implementation(libs.androidx.activity.compose)
|
|
|
|
//Compose navigation
|
|
implementation(libs.androidx.navigation.compose)
|
|
|
|
implementation(libs.androidx.core.ktx)
|
|
implementation(libs.androidx.appcompat)
|
|
implementation(libs.material)
|
|
testImplementation(libs.junit)
|
|
androidTestImplementation(libs.androidx.junit)
|
|
androidTestImplementation(libs.androidx.espresso.core)
|
|
} |