Skip to content

Instantly share code, notes, and snippets.

@cdmunoz
Created March 3, 2018 02:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdmunoz/53e8abd794adc96f630c3431feedc35d to your computer and use it in GitHub Desktop.
Save cdmunoz/53e8abd794adc96f630c3431feedc35d to your computer and use it in GitHub Desktop.
dependencies {
//android libs
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
implementation "com.android.support.constraint:constraint-layout:${rootProject.ext.constraintLayoutVersion}"
//moshi
implementation "com.squareup.moshi:moshi-kotlin:${rootProject.ext.moshiKotlinVersion}"
//dagger2
implementation "com.google.dagger:dagger-android:${rootProject.ext.dagger2Version}"
kapt "com.google.dagger:dagger-compiler:${rootProject.ext.dagger2Version}"
kapt "com.google.dagger:dagger-android-processor:${rootProject.ext.dagger2Version}"
//Room
implementation "android.arch.persistence.room:runtime:${rootProject.ext.archVersion}"
kapt "android.arch.persistence.room:compiler:${rootProject.ext.archVersion}"
//Lifecycle
implementation "android.arch.lifecycle:extensions:${rootProject.ext.archVersion}"
kapt "android.arch.lifecycle:compiler:${rootProject.ext.archVersion}"
//test
testImplementation "junit:junit:${rootProject.ext.junitVersion}"
androidTestImplementation "com.android.support.test:runner:${rootProject.ext.testRunnerVersion}"
androidTestImplementation "com.android.support.test.espresso:espresso-core:${rootProject.ext.testEspressoVersion}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment