forked from trello-archive/RxLifecycle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
50 lines (44 loc) · 1.77 KB
/
build.gradle
File metadata and controls
50 lines (44 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
buildscript {
ext {
//version here to share between build script and projects
//todo https://github.com/JetBrains/kotlin/pull/775 : remove if it will be merged
verKotlin = '1.1.2-3'
}
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$verKotlin"
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$verKotlin"
classpath 'com.github.ben-manes:gradle-versions-plugin:0.14.0'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
}
}
subprojects {
group = GROUP
version = VERSION_NAME
}
apply plugin: 'com.github.ben-manes.versions'
ext {
minSdkVersion = 14
compileSdkVersion = 25
targetSdkVersion = compileSdkVersion
buildToolsVersion = '25'
supportLibVersion = '25.3.1'
lifecycleVersion = '1.0.0-alpha1'
sourceCompatibilityVersion = JavaVersion.VERSION_1_7
targetCompatibilityVersion = JavaVersion.VERSION_1_7
// Define all dependencies in the base project, to unify & make it easy to update
rxJava = 'io.reactivex.rxjava2:rxjava:2.1.0'
rxAndroid = 'io.reactivex.rxjava2:rxandroid:2.0.1'
navi = 'com.trello.navi2:navi:2.0'
lifecycle = "android.arch.lifecycle:runtime:$lifecycleVersion"
lifecycleProcessor = "android.arch.lifecycle:compiler:$lifecycleVersion"
kotlinStdlib = "org.jetbrains.kotlin:kotlin-stdlib:$verKotlin"
appCompat = "com.android.support:appcompat-v7:$supportLibVersion"
supportAnnotations = "com.android.support:support-annotations:$supportLibVersion"
jsr305Annotations = 'com.google.code.findbugs:jsr305:3.0.2'
junit = 'junit:junit:4.12'
robolectric = 'org.robolectric:robolectric:3.3.2'
}