Store/buildsystem/dependencies.gradle

141 lines
7.3 KiB
Groovy
Raw Normal View History

2016-11-29 18:59:48 +00:00
allprojects {
repositories {
mavenLocal()
2016-11-29 18:59:48 +00:00
maven {
url 'https://plugins.gradle.org/m2/'
2016-11-29 18:59:48 +00:00
}
2016-11-29 18:59:48 +00:00
maven {
url = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
2016-11-29 18:59:48 +00:00
}
jcenter()
}
}
ext.versions += [
2017-01-04 19:17:53 +00:00
minSdk : 16,
targetSdk : 25,
compileSdk : 25,
buildTools : '25.0.2',
2016-11-29 18:59:48 +00:00
// UI libs.
supportLibs : '25.1.1',
2016-11-29 18:59:48 +00:00
picasso : '2.5.2',
rxBinding : '0.3.0',
butterKnife : '7.0.1',
// Reactive.
rxJava : '1.2.6',
rxJava2 : '2.0.7',
2016-11-29 18:59:48 +00:00
rxJavaProGuardRules : '1.1.6.0',
rxJavaAsyncUtil : '0.21.0',
rxAndroid : '1.2.1',
rxAndroid2 : '2.0.1',
2016-11-29 18:59:48 +00:00
// Others.
retrofit : '2.2.0',
retrolambda : '2.3.0',
dagger : '2.9',
2016-11-29 18:59:48 +00:00
jsr305 : '3.0.1',
okHttp : '2.7.5',
okio : '1.11.0',
gson : '2.6.2',
2017-07-17 18:18:38 +00:00
moshi : '1.5.0',
jackson : '2.8.6',
guava : '19.0',
javapoet : '1.8.0',
2016-11-29 18:59:48 +00:00
immutables : '2.2.1',
supportMultiDex : '1.0.1',
javaxInject : '1',
autoFactory : '1.0-beta3',
autoService : '1.0-rc2',
autoCommon : '0.6',
javaWriter : '2.5.1',
javax : '1',
commonsLang3 : '3.0',
2016-11-29 18:59:48 +00:00
// Debugging & Inspecting.
slf4j : '1.7.19',
// Testing.
junit : '4.12',
assertJ : '1.7.1',
mockito : '1.9.5',
robolectric : '3.1.2',
supportTestRunner : '0.4.1',
espresso : '2.2.1',
compileTesting : '0.8',
]
ext.libraries = [
// UI libs.
supportAppCompat : "com.android.support:appcompat-v7:$versions.supportLibs",
supportCardView : "com.android.support:cardview-v7:$versions.supportLibs",
supportDesign : "com.android.support:design:$versions.supportLibs",
supportPercent : "com.android.support:percent:$versions.supportLibs",
supportV13 : "com.android.support:support-v13:$versions.supportLibs",
supportRecyclerView : "com.android.support:recyclerview-v7:$versions.supportLibs",
supportVectorDrawable : "com.android.support:support-vector-drawable:$versions.supportLibs",
supportAnimatedDrawable : "com.android.support:animated-vector-drawable:$versions.supportLibs",
picasso : "com.squareup.picasso:picasso:$versions.picasso",
rxBinding : "com.jakewharton.rxbinding:rxbinding:$versions.rxBinding",
butterKnife : "com.jakewharton:butterknife:$versions.butterKnife",
// Reactive.
rxJava : "io.reactivex:rxjava:$versions.rxJava",
rxJava2 : "io.reactivex.rxjava2:rxjava:$versions.rxJava2",
2016-11-29 18:59:48 +00:00
rxJavaAsyncUtil : "io.reactivex:rxjava-async-util:$versions.rxJavaAsyncUtil",
rxJavaProGuardRules : "com.artemzin.rxjava:proguard-rules:$versions.rxJavaProGuardRules",
rxAndroid : "io.reactivex:rxandroid:$versions.rxAndroid",
rxAndroid2 : "io.reactivex.rxjava2:rxandroid:$versions.rxAndroid2",
2016-11-29 18:59:48 +00:00
// Others.
retrofit : "com.squareup.retrofit2:retrofit:$versions.retrofit",
retrofitGsonConverter : "com.squareup.retrofit2:converter-gson:$versions.retrofit",
retrofitRx2 : "com.squareup.retrofit2:adapter-rxjava2:$versions.retrofit",
retrolambda : "net.orfjackal.retrolambda:retrolambda:$versions.retrolambda",
2016-11-29 18:59:48 +00:00
dagger : "com.google.dagger:dagger:$versions.dagger",
daggerCompiler : "com.google.dagger:dagger-compiler:$versions.dagger",
jsr305 : "com.google.code.findbugs:jsr305:$versions.jsr305",
okHttp : "com.squareup.okhttp:okhttp:$versions.okHttp",
okio : "com.squareup.okio:okio:$versions.okio",
gson : "com.google.code.gson:gson:$versions.gson",
moshi : "com.squareup.moshi:moshi:$versions.moshi",
jacksonCore : "com.fasterxml.jackson.core:jackson-core:$versions.jackson",
jacksonDatabind : "com.fasterxml.jackson.core:jackson-databind:$versions.jackson",
guava : "com.google.guava:guava:$versions.guava",
2016-11-29 18:59:48 +00:00
javapoet : "com.squareup:javapoet:$versions.javapoet",
immutablesValue : "org.immutables:value:$versions.immutables",
immutablesValueProcessor: "org.immutables:value-processor:$versions.immutables",
immutablesGson : "org.immutables:gson:$versions.immutables",
supportAnnotations : "com.android.support:support-annotations:$versions.supportLibs",
supportMultiDex : "com.android.support:multidex:$versions.supportMultiDex",
glassfishJavax : "org.glassfish:javax.annotation:$versions.glassfishJavax",
javaxInject : "javax.inject:javax.inject:$versions.javaxInject",
autoFactory : "com.google.auto.factory:auto-factory:$versions.autoFactory",
autoService : "com.google.auto.service:auto-service:$versions.autoService",
autoCommon : "com.google.auto:auto-common:$versions.autoCommon",
javaWriter : "com.squareup:javawriter:$versions.javaWriter",
javax : "javax.inject:javax.inject:$versions.javax",
kotlinStdLib : "org.jetbrains.kotlin:kotlin-stdlib:$versions.kotlin",
commonsLang3 : "org.apache.commons:commons-lang3:$versions.commonsLang3",
2016-11-29 18:59:48 +00:00
// Debugging & Inspecting.
slf4jNoOp : "org.slf4j:slf4j-api:$versions.slf4j",
slf4jTesting : "org.slf4j:slf4j-simple:$versions.slf4j",
slf4jAndroid : "org.slf4j:slf4j-android:$versions.slf4j",
// Testing.
junit : "junit:junit:$versions.junit",
assertJ : "org.assertj:assertj-core:$versions.assertJ",
mockito : "org.mockito:mockito-all:$versions.mockito",
robolectric : "org.robolectric:robolectric:$versions.robolectric",
robolectricMultiDex : "org.robolectric:shadows-multidex:$versions.robolectric",
supportTestRunner : "com.android.support.test:runner:$versions.supportTestRunner",
supportTestRules : "com.android.support.test:rules:$versions.supportTestRunner",
espressoCore : "com.android.support.test.espresso:espresso-core:$versions.espresso",
espressoContrib : "com.android.support.test.espresso:espresso-contrib:$versions.espresso",
mockWebserver : "com.squareup.okhttp:mockwebserver:$versions.okHttp",
compileTesting : "com.google.testing.compile:compile-testing:$versions.compileTesting",
]