Skip to content

Instantly share code, notes, and snippets.

@rorlig
Created May 19, 2019 16:24
Show Gist options
  • Select an option

  • Save rorlig/a392fd3d09830d9a9241ec0aa84a2b3a to your computer and use it in GitHub Desktop.

Select an option

Save rorlig/a392fd3d09830d9a9241ec0aa84a2b3a to your computer and use it in GitHub Desktop.
ext {
minSdkVersion = 14
compileSdkVersion = 28
buildToolsVersion = "28.0.0"
//Android
androidSupportVersion = "28.0.0"
constraintLayoutVersion = "1.0.0-alpha7"
butterknifeVersion = "8.0.1"
rxandroidVersion = "1.2.1"
okhttpVersion = "3.4.1"
retrofitVersion = "2.1.0"
utilsVersion = "1.0.0"
timberVersion = "4.1.2"
picassoVersion = "2.5.2"
daggerVersion = "2.4"
firebaseVersion = "9.4.0"
appSettingsVersion = "1.0.2"
//Java
rxjavaVersion = "1.1.9"
//Testing
junitVersion = "4.12"
dexmakerVersion = "1.2"
mockitoVersion = "1.10.19"
supportTestVesion = "0.5"
robolectricVersion = "3.1-rc1"
espressoVersion = "2.2.2"
robospockVersion = "1.0.0"
libraries = [
androidSupport : "com.android.support:support-v4:${androidSupportVersion}",
appCompat : "com.android.support:appcompat-v7:${androidSupportVersion}",
designSupport : "com.android.support:design:${androidSupportVersion}",
vectorSupport : "com.android.support:support-vector-drawable:${androidSupportVersion}",
constraintLayout : "com.android.support.constraint:constraint-layout:${constraintLayoutVersion}",
cardView : "com.android.support:cardview-v7:${androidSupportVersion}",
recyclerView : "com.android.support:recyclerview-v7:${androidSupportVersion}",
palette : "com.android.support:palette-v7:${androidSupportVersion}",
rxjava : "io.reactivex:rxjava:${rxjavaVersion}",
rxandroid : "io.reactivex:rxandroid:${rxandroidVersion}",
utils : "com.mirhoseini.utils:utils:${utilsVersion}",
appSettings : "com.mirhoseini.appsettings:appsettings:${appSettingsVersion}",
timber : "com.jakewharton.timber:timber:${timberVersion}",
butterknife : "com.jakewharton:butterknife:${butterknifeVersion}",
okhttp : "com.squareup.okhttp3:okhttp:${okhttpVersion}",
okhttpLogging : "com.squareup.okhttp3:logging-interceptor:${okhttpVersion}",
retrofit : "com.squareup.retrofit2:retrofit:${retrofitVersion}",
retrofitConverter: "com.squareup.retrofit2:converter-gson:${retrofitVersion}",
retrofitAdapter : "com.squareup.retrofit2:adapter-rxjava:${retrofitVersion}",
picasso : "com.squareup.picasso:picasso:${picassoVersion}",
dagger : "com.google.dagger:dagger:${daggerVersion}",
firebase : "com.google.firebase:firebase-core:${firebaseVersion}",
firebaseMessaging: "com.google.firebase:firebase-messaging:${firebaseVersion}",
firebaseCrash : "com.google.firebase:firebase-crash:${firebaseVersion}",
]
aptLibraries = [
butterknifeCompiler: "com.jakewharton:butterknife-compiler:${butterknifeVersion}",
daggerCompiler : "com.google.dagger:dagger-compiler:${daggerVersion}",
]
testLibraries = [
junit : "junit:junit:${junitVersion}",
mockito : "org.mockito:mockito-core:${mockitoVersion}",
robolectric : "org.robolectric:robolectric:${robolectricVersion}",
dexmaker : "com.google.dexmaker:dexmaker:${dexmakerVersion}",
dexmakerMockito : "com.google.dexmaker:dexmaker-mockito:${dexmakerVersion}",
supportAnnotations: "com.android.support:support-annotations:${androidSupportVersion}",
supportTestRunner : "com.android.support.test:runner:${supportTestVesion}",
supportTestRules : "com.android.support.test:rules:${supportTestVesion}",
espresso : "com.android.support.test.espresso:espresso-core:${espressoVersion}",
espressoContrib : "com.android.support.test.espresso:espresso-contrib:${espressoVersion}",
robospock : "org.robospock:robospock:${robospockVersion}",
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment