84 lines
No EOL
2.6 KiB
Groovy
84 lines
No EOL
2.6 KiB
Groovy
plugins {
|
|
alias(libs.plugins.android.application)
|
|
alias(libs.plugins.kotlin.compose)
|
|
id 'com.google.devtools.ksp'
|
|
}
|
|
|
|
android {
|
|
namespace 'com.warzazel.stromzaehler'
|
|
compileSdk {
|
|
version = release(36) {
|
|
minorApiLevel = 1
|
|
}
|
|
}
|
|
|
|
defaultConfig {
|
|
applicationId "com.warzazel.stromzaehler"
|
|
minSdk 26
|
|
targetSdk 36
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
|
|
buildFeatures {
|
|
compose true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation libs.androidx.core.ktx
|
|
implementation libs.androidx.lifecycle.runtime.ktx
|
|
implementation libs.androidx.activity.compose
|
|
implementation platform(libs.androidx.compose.bom)
|
|
implementation libs.androidx.compose.ui
|
|
implementation libs.androidx.compose.ui.graphics
|
|
implementation libs.androidx.compose.ui.tooling.preview
|
|
implementation libs.androidx.compose.material3
|
|
testImplementation libs.junit
|
|
androidTestImplementation libs.androidx.junit
|
|
androidTestImplementation libs.androidx.espresso.core
|
|
androidTestImplementation platform(libs.androidx.compose.bom)
|
|
androidTestImplementation libs.androidx.compose.ui.test.junit4
|
|
debugImplementation libs.androidx.compose.ui.tooling
|
|
debugImplementation libs.androidx.compose.ui.test.manifest
|
|
ksp 'org.jetbrains.kotlin:kotlin-metadata-jvm:2.2.10'
|
|
// LiveData Compose
|
|
implementation 'androidx.compose.runtime:runtime-livedata:1.7.8'
|
|
|
|
// ViewModel Compose
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:2.8.7'
|
|
|
|
// Room
|
|
implementation 'androidx.room:room-runtime:2.7.0'
|
|
implementation 'androidx.room:room-ktx:2.7.0'
|
|
ksp 'androidx.room:room-compiler:2.7.0'
|
|
|
|
// ViewModel + LiveData
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0'
|
|
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.7.0'
|
|
|
|
// Diagramm
|
|
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
|
|
|
|
// Material Design 3
|
|
implementation 'com.google.android.material:material:1.12.0'
|
|
|
|
// Coroutines
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
|
|
|
|
// AppCompat
|
|
implementation 'androidx.appcompat:appcompat:1.7.0'
|
|
} |