Last active
January 13, 2020 08:32
-
-
Save addeeandra/19fdec47938b3227f2a9f945e83c5852 to your computer and use it in GitHub Desktop.
Default libs
This file contains hidden or 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
buildScript { | |
ext { | |
def appcompat_version = '1.1.0' | |
def constraint_layout_version = '1.1.3' | |
def coroutines_android_version = '1.3.2' | |
def reflect_android_version = '1.3.61' | |
def lifecycle_version = '2.1.0' | |
def livedata_version = '2.2.0-rc02' | |
def material_version = '1.0.0' | |
def security_version = '1.0.0-alpha02' | |
def retrofit_gson_version = '2.6.2' | |
def retrofit_version = '2.6.2' | |
def logging_interceptor_version = '3.9.1' | |
def dagger_version = '2.17' | |
def room_version = '2.2.2' | |
def work_version = '2.2.0' | |
def result4k_version = '2.0.0' | |
def picasso_version = '2.71828' | |
def anychart_version = '1.1.2' | |
def javax_version = '1.3.2' | |
androidxLibs = [ | |
// Android UI and appcompat | |
"androidx.appcompat:appcompat:$appcompat_version", | |
"androidx.constraintlayout:constraintlayout:$constraint_layout_version", | |
"com.google.android.material:material:$material_version", | |
// ViewModel and LiveData | |
"androidx.lifecycle:lifecycle-extensions:$lifecycle_version", | |
"androidx.lifecycle:lifecycle-livedata-ktx:$livedata_version", | |
"androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version", | |
// Work Manager and Room | |
"androidx.work:work-runtime-ktx:$work_version", | |
"androidx.room:room-ktx:$room_version", | |
"androidx.security:security-crypto:$security_version" | |
] | |
androidxKapts = [ | |
"androidx.room:room-compiler:$room_version", | |
] | |
kotlinxLibs = [ | |
"org.jetbrains.kotlin:kotlin-reflect:$reflect_android_version", | |
"org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_android_version", | |
"org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_android_version" | |
] | |
retrofitLibs = [ | |
// network & serialization | |
"com.squareup.retrofit2:retrofit:$retrofit_version", | |
"com.squareup.retrofit2:converter-gson:$retrofit_gson_version", | |
"com.squareup.okhttp3:logging-interceptor:$logging_interceptor_version" | |
] | |
daggerLibs = [ | |
"com.google.dagger:dagger-android:$dagger_version", | |
"com.google.dagger:dagger-android-support:$dagger_version" | |
] | |
daggerKapts = [ | |
"com.google.dagger:dagger-android-processor:$dagger_version" | |
] | |
optLibs = [ | |
"com.squareup.picasso:picasso:$picasso_version", | |
"com.natpryce:result4k:$result4k_version", | |
"com.github.AnyChart:AnyChart-Android:$anychart_version", | |
"javax.annotation:javax.annotation-api:$javax_version" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment