Last active
May 2, 2021 06:32
-
-
Save stargt/f681e4b959488a51cf1b8de072ada975 to your computer and use it in GitHub Desktop.
Android Snippet for Gradle Dependencies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
/* | |
AndroidX | |
https://developer.android.com/jetpack/androidx/migrate/artifact-mappings | |
*/ | |
implementation "androidx.constraintlayout:constraintlayout:x.y.z" | |
/* | |
Material Components | |
https://github.com/material-components/material-components-android/blob/master/docs/getting-started.md | |
*/ | |
implementation "com.google.android.material:material:x.y.z" | |
/* | |
Android KTX | |
https://developer.android.com/kotlin/ktx | |
*/ | |
implementation "androidx.core:core-ktx:x.y.z" | |
implementation "androidx.collection:collection-ktx:x.y.z" | |
implementation "androidx.fragment:fragment-ktx:x.y.z" | |
implementation "androidx.lifecycle:lifecycle-runtime-ktx:x.y.z" | |
implementation "androidx.lifecycle:lifecycle-livedata-ktx:x.y.z" | |
implementation "androidx.navigation:navigation-runtime-ktx:x.y.z" | |
implementation "androidx.navigation:navigation-fragment-ktx:x.y.z" | |
implementation "androidx.navigation:navigation-ui-ktx:x.y.z" | |
implementation "androidx.palette:palette-ktx:x.y.z" | |
implementation "androidx.lifecycle:lifecycle-reactivestreams-ktx:x.y.z" | |
implementation "androidx.room:room-ktx:x.y.z" | |
implementation "androidx.sqlite:sqlite-ktx:x.y.z" | |
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:x.y.z" | |
implementation "androidx.work:work-runtime-ktx:x.y.z" | |
implementation "com.google.android.play:core-ktx:x.y.z" | |
/* | |
Coroutine | |
*/ | |
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:x.y.z" | |
/* | |
Retrofit with Gson Converter & OkHttp & Logging Interceptor & RxJava2 Adapter & RxJava3 Adapter | |
https://github.com/square/retrofit | |
https://github.com/square/retrofit/tree/master/retrofit-converters/gson | |
https://github.com/square/okhttp | |
https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor | |
https://github.com/square/retrofit/tree/master/retrofit-adapters/rxjava2 | |
https://github.com/square/retrofit/tree/master/retrofit-adapters/rxjava3 | |
*/ | |
implementation "com.squareup.retrofit2:retrofit:x.y.z" | |
implementation "com.squareup.retrofit2:converter-gson:x.y.z" | |
implementation "com.squareup.okhttp3:okhttp:x.y.z" | |
implementation "com.squareup.okhttp3:logging-interceptor:x.y.z" | |
implementation "com.squareup.retrofit2:adapter-rxjava2:x.y.z" | |
implementation "com.squareup.retrofit2:adapter-rxjava3:x.y.z" | |
/* | |
RxJava 2 & 3 | |
https://github.com/ReactiveX/RxJava | |
*/ | |
implementation "io.reactivex.rxjava2:rxjava:2.x.y" | |
implementation "io.reactivex.rxjava3:rxjava:3.x.y" | |
/* | |
Picasso | |
https://github.com/square/picasso | |
*/ | |
implementation "com.squareup.picasso:picasso:x.y" | |
/* | |
Glide | |
https://github.com/bumptech/glide | |
*/ | |
implementation "com.github.bumptech.glide:glide:x.y.z" | |
annotationProcessor "com.github.bumptech.glide:compiler:x.y.z" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment