Skip to content

Instantly share code, notes, and snippets.

@rajumark
Created September 4, 2022 08:56
Show Gist options
  • Save rajumark/36a4fc6636d3b78fd39198aa66d210c5 to your computer and use it in GitHub Desktop.
Save rajumark/36a4fc6636d3b78fd39198aa66d210c5 to your computer and use it in GitHub Desktop.
buildFeatures {
viewBinding true
}
// activity and lifecycle
implementation 'androidx.activity:activity-ktx:1.5.1'
implementation 'androidx.fragment:fragment-ktx:1.5.2'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1"
implementation 'androidx.lifecycle:lifecycle-common-java8:2.5.1'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.5.1'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
buildscript {
dependencies {
classpath "com.google.dagger:hilt-android-gradle-plugin:2.40.5"
}
}
id 'org.jetbrains.kotlin.android' version '1.6.10' apply false
//plugin
id 'dagger.hilt.android.plugin'
id 'kotlin-kapt'
//Dagger - Hilt
implementation "com.google.dagger:hilt-android:2.40.5"
kapt "com.google.dagger:hilt-android-compiler:2.40.5"
implementation "androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alpha03"
kapt "androidx.hilt:hilt-compiler:1.0.0"
//network
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.google.code.gson:gson:2.8.9'
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment