Created
November 13, 2015 13:42
-
-
Save VictorAlbertos/8b57b5240babc8863bb2 to your computer and use it in GitHub Desktop.
This file contains 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
// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
buildscript { | |
repositories { | |
mavenCentral() | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:1.3.0' | |
// NOTE: Do not place your application dependencies here; they belong | |
// in the individual module build.gradle files | |
} | |
} | |
allprojects { | |
repositories { | |
mavenCentral() | |
jcenter() | |
} | |
} | |
task clean(type: Delete) { | |
delete rootProject.buildDir | |
} | |
ext { | |
//Libraries | |
daggerVersion = '2.0.1' | |
rxJavaVersion = '1.0.14' | |
rxAndroidVersion = '1.0.1' | |
javaxAnnotationVersion = "10.0-b28" | |
retrofitVersion = "2.0.0-beta1" | |
lombokVersion = "1.16.6" | |
retrolambdaVersion = "3.2.3" | |
//Unit testing | |
jUnitVersion = "4.12" | |
mockitoVersion = "1.10.19" | |
hamcrestVersion = "1.1" | |
domainDependencies = [ | |
daggerCompiler: "com.google.dagger:dagger-compiler:${daggerVersion}", | |
dagger: "com.google.dagger:dagger:${daggerVersion}", | |
rxJava: "io.reactivex:rxjava:${rxJavaVersion}", | |
javaxAnnotation: "org.glassfish:javax.annotation:${javaxAnnotationVersion}", | |
lombok: "org.projectlombok:lombok:${lombokVersion}" | |
] | |
domainTestDependencies = [ | |
junit: "junit:junit:${jUnitVersion}", | |
mockito: "org.mockito:mockito-core:${mockitoVersion}", | |
hamcrest: "org.hamcrest:hamcrest-library:${hamcrestVersion}" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment