Skip to content

Commit

Permalink
🧠 Made some modifications in Gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
aritra-tech committed Jul 30, 2023
1 parent 8e73822 commit 8dab9d4
Showing 1 changed file with 23 additions and 16 deletions.
39 changes: 23 additions & 16 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ android {
}

buildTypes {
getByName("release") {
named("release") {
isMinifyEnabled = false
proguardFiles (getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
named("debug") {
isDebuggable = true
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand All @@ -53,6 +56,9 @@ android {

dependencies {

val lifecycleVersion = "2.6.1"
val roomVersion = "2.5.2"

implementation ("androidx.core:core-ktx:1.10.1")
implementation (platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))
implementation ("androidx.lifecycle:lifecycle-runtime-ktx:2.6.1")
Expand All @@ -62,6 +68,8 @@ dependencies {
implementation ("androidx.compose.ui:ui-graphics")
implementation ("androidx.compose.ui:ui-tooling-preview")
implementation ("androidx.compose.material3:material3")

// Test Dependencies
testImplementation ("junit:junit:4.13.2")
androidTestImplementation ("androidx.test.ext:junit:1.1.5")
androidTestImplementation ("androidx.test.espresso:espresso-core:3.5.1")
Expand All @@ -70,35 +78,34 @@ dependencies {
debugImplementation ("androidx.compose.ui:ui-tooling")
debugImplementation ("androidx.compose.ui:ui-test-manifest")

//Navigation
// Navigation
implementation ("androidx.navigation:navigation-compose:2.7.0-beta01")

// Accompanist
implementation ("com.google.accompanist:accompanist-systemuicontroller:0.28.0")

//Material 3
// Material 3
implementation ("androidx.compose.material3:material3:1.1.1")
implementation ("androidx.compose.material3:material3-window-size-class:1.1.1")

//Bottom sheet
// Bottom sheet
implementation ("io.github.oleksandrbalan:modalsheet:0.5.0")

//Room
implementation ("androidx.room:room-runtime:2.5.2")
// Room
implementation ("androidx.room:room-runtime:$roomVersion")
implementation ("androidx.lifecycle:lifecycle-extensions:2.2.0")
implementation ("androidx.room:room-ktx:2.5.2")
implementation ("androidx.room:room-ktx:$roomVersion")
implementation ("androidx.compose.runtime:runtime-livedata:1.4.3")
annotationProcessor ("androidx.room:room-compiler:2.5.2")
kapt ("androidx.room:room-compiler:2.5.2")
annotationProcessor ("androidx.room:room-compiler:$roomVersion")
kapt ("androidx.room:room-compiler:$roomVersion")

// ViewModel
implementation ("androidx.lifecycle:lifecycle-viewmodel-compose:2.6.1")
implementation ("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1")
implementation ("androidx.lifecycle:lifecycle-livedata-ktx:2.6.1")
implementation ("androidx.lifecycle:lifecycle-runtime-ktx:2.6.1")
implementation ("androidx.core:core-ktx:1.10.1")
// Lifecycle
implementation ("androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycleVersion")
implementation ("androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycleVersion")
implementation ("androidx.lifecycle:lifecycle-livedata-ktx:$lifecycleVersion")
implementation ("androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion")

//hilt
// Hilt
implementation ("androidx.hilt:hilt-navigation-compose:1.0.0")
implementation ("com.google.dagger:hilt-android:2.44")
kapt ("com.google.dagger:hilt-compiler:2.44")
Expand Down

0 comments on commit 8dab9d4

Please sign in to comment.