Created
July 17, 2020 14:07
-
-
Save prasannajeet/3ef9e4b0ce7844f716ff77a1b6239289 to your computer and use it in GitHub Desktop.
Dependency file containing all commonly used dependencies along with their latest versions as of 17 June 2020
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
ext { | |
androidXCore="1.3.0" | |
androidXAppcompat="1.1.0" | |
constraintLayout="1.1.3" | |
kotlinVersion="1.3.72" | |
moshiVersion="1.8.0" | |
retrofit2_version = "2.9.0" | |
okhttp3_version = "3.12.0" | |
kotlinCoroutineVersion = "1.3.5" | |
picassoVersion = "2.71828" | |
activityKtx = "1.1.0" | |
fragmentKtx = "1.2.5" | |
viewmodelKtx = "2.2.0" | |
httpLoggingInterceptor = "4.7.2" | |
nav_version = "2.3.0" | |
legacySupport = "1.0.0" | |
lifecycleExtensions = "2.0.0" | |
junitVersion = "4.12" | |
junitAndroidVersion = "1.1.1" | |
espressoVersion = "3.2.0" | |
circleImageViewVersion = "3.1.0" | |
mockkVersion = "1.10.0" | |
coroutineTest = "1.3.7" | |
androidCoreTest = "2.1.0" | |
kotlinDependencies = [ | |
kotlinStdlib: "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion", | |
coroutinesCore: "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinCoroutineVersion", | |
coroutinesAndroid: "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinCoroutineVersion" | |
] | |
androidxDependencies = [ | |
core: "androidx.core:core-ktx:$androidXCore", | |
appCompat: "androidx.appcompat:appcompat:$androidXAppcompat", | |
constraintLayout: "androidx.constraintlayout:constraintlayout:$constraintLayout", | |
navigationFragment: "androidx.navigation:navigation-fragment-ktx:$nav_version", | |
recyclerView: "androidx.recyclerview:recyclerview:$androidXAppcompat", | |
legacy: "androidx.legacy:legacy-support-v4:$legacySupport", | |
lifecycleExtensions: "androidx.lifecycle:lifecycle-extensions:$lifecycleExtensions" | |
] | |
networkingDependencies = [ | |
retrofitCore: "com.squareup.retrofit2:retrofit:$retrofit2_version", | |
retrofitMoshiConverter: "com.squareup.retrofit2:converter-moshi:$retrofit2_version", | |
okhttp: "com.squareup.okhttp3:okhttp:$okhttp3_version", | |
okhttpLoggingInterceptor: "com.squareup.okhttp3:logging-interceptor:$httpLoggingInterceptor", | |
picasso: "com.squareup.picasso:picasso:$picassoVersion", | |
moshi: "com.squareup.moshi:moshi-kotlin:$moshiVersion", | |
moshiAnnotation: "com.squareup.moshi:moshi-kotlin-codegen:$moshiVersion" | |
] | |
androidKtx = [ | |
activityKtx: "androidx.activity:activity-ktx:$activityKtx", | |
fragmentKtx: "androidx.fragment:fragment-ktx:$fragmentKtx", | |
viewModelKtx: "androidx.lifecycle:lifecycle-viewmodel-ktx:$viewmodelKtx", | |
runtimeKtx: "androidx.lifecycle:lifecycle-runtime-ktx:$viewmodelKtx", | |
navigationKtx: "androidx.navigation:navigation-ui-ktx:$nav_version" | |
] | |
testing = [ | |
junit: "junit:junit:$junitVersion", | |
junitAndroid: "androidx.test.ext:junit:$junitAndroidVersion", | |
espresso: "androidx.test.espresso:espresso-core:$espressoVersion", | |
mockk: "io.mockk:mockk:$mockkVersion", | |
coroutinesTest: "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutineTest", | |
androidCoreTest: "androidx.arch.core:core-testing:$androidCoreTest" | |
] | |
utilLibs = [ | |
circleImageView: "de.hdodenhof:circleimageview:$circleImageViewVersion" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment