Skip to content

Instantly share code, notes, and snippets.

@Elvis10ten
Created November 24, 2017 10:38
Show Gist options
  • Save Elvis10ten/9bb8e6a17f36dc2938f52943b6502136 to your computer and use it in GitHub Desktop.
Save Elvis10ten/9bb8e6a17f36dc2938f52943b6502136 to your computer and use it in GitHub Desktop.
/*
Dependency versions are defined in the top level build.gradle file. This helps keeping track of
all versions in a single place. This improves readability and helps managing project complexity.
*/
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
// Support dependencies
implementation "com.android.support:appcompat-v7:$rootProject.ext.supportLibraryVersion"
implementation "com.android.support:cardview-v7:$rootProject.ext.supportLibraryVersion"
implementation "com.android.support:design:$rootProject.ext.supportLibraryVersion"
implementation "com.android.support:recyclerview-v7:$rootProject.ext.supportLibraryVersion"
implementation "com.android.support:support-v4:$rootProject.ext.supportLibraryVersion"
implementation "com.android.support.test.espresso:espresso-idling-resource:$rootProject.ext.espressoVersion"
implementation "com.android.support.constraint:constraint-layout:$rootProject.ext.constraintLayoutVersion"
// Other dependencies
implementation "com.google.code.gson:gson:$rootProject.ext.gsonVersion"
implementation "com.github.bumptech.glide:glide:$rootProject.ext.glideVersion"
implementation "com.github.ybq:Android-SpinKit:$rootProject.ext.spinKitVersion"
// Local unit tests dependencies
testImplementation "junit:junit:$rootProject.ext.junitVersion"
testImplementation "org.mockito:mockito-core:$rootProject.ext.mockitoVersion"
testImplementation "com.nhaarman:mockito-kotlin-kt1.1:$rootProject.kotlinMockitoVersion"
// Espresso UI Testing dependencies
androidTestImplementation "com.android.support.test.espresso:espresso-core:$rootProject.ext.espressoVersion"
androidTestImplementation "com.android.support.test.espresso:espresso-contrib:$rootProject.ext.espressoVersion"
androidTestImplementation "com.android.support.test.espresso:espresso-intents:$rootProject.ext.espressoVersion"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment