Initial commit
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
plugins {
|
||||
alias(libs.plugins.android.application)
|
||||
alias(libs.plugins.jetbrains.kotlin.android)
|
||||
alias(libs.plugins.google.gms.google.services)
|
||||
id 'kotlin-kapt'
|
||||
id 'dagger.hilt.android.plugin'
|
||||
alias(libs.plugins.kotlin.compose)
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = 'com.yaros.shiftmanager'
|
||||
compileSdk 36
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.yaros.shiftmanager"
|
||||
minSdk 24
|
||||
targetSdk 34
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
useSupportLibrary = true
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
coreLibraryDesugaringEnabled = true
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = '1.8'
|
||||
}
|
||||
buildFeatures {
|
||||
compose = true
|
||||
}
|
||||
packaging {
|
||||
resources {
|
||||
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
implementation libs.androidx.room.runtime
|
||||
|
||||
// Hilt
|
||||
implementation("com.google.dagger:hilt-android:2.59.2") // ← Update this
|
||||
kapt("com.google.dagger:hilt-compiler:2.59.2") // ← Update this
|
||||
|
||||
// Room (ensure versions are consistent)
|
||||
|
||||
implementation("androidx.room:room-runtime:2.8.4")
|
||||
implementation("androidx.room:room-ktx:2.8.4")
|
||||
kapt("androidx.room:room-compiler:2.8.4")
|
||||
implementation 'com.google.code.gson:gson:2.14.0'
|
||||
|
||||
// If using Hilt with Room, also add:
|
||||
implementation("androidx.hilt:hilt-common:1.3.0")
|
||||
kapt("androidx.hilt:hilt-compiler:1.3.0")
|
||||
implementation libs.androidx.room.ktx
|
||||
implementation libs.androidx.datastore.preferences
|
||||
implementation(libs.vico.compose)
|
||||
coreLibraryDesugaring libs.desugar.jdk.libs
|
||||
implementation("com.kizitonwose.calendar:view:2.10.1")
|
||||
implementation("com.kizitonwose.calendar:compose:2.10.1")
|
||||
implementation(libs.vico.compose.m2)
|
||||
implementation(libs.vico.compose.m3)
|
||||
implementation(libs.vico.core)
|
||||
implementation(libs.vico.views)
|
||||
implementation libs.hilt.android
|
||||
kapt libs.dagger.hilt.compiler
|
||||
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.navigation.compose)
|
||||
implementation libs.androidx.ui
|
||||
implementation libs.androidx.ui.graphics
|
||||
implementation libs.androidx.ui.tooling.preview
|
||||
implementation libs.androidx.material3
|
||||
implementation libs.firebase.auth
|
||||
implementation("androidx.hilt:hilt-navigation-compose:1.2.0")
|
||||
testImplementation libs.junit
|
||||
androidTestImplementation libs.androidx.junit
|
||||
androidTestImplementation libs.androidx.espresso.core
|
||||
androidTestImplementation platform(libs.androidx.compose.bom)
|
||||
androidTestImplementation libs.androidx.ui.test.junit4
|
||||
debugImplementation libs.androidx.ui.tooling
|
||||
debugImplementation libs.androidx.ui.test.manifest
|
||||
}
|
||||
Reference in New Issue
Block a user