forked from trello-archive/RxLifecycle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
53 lines (47 loc) · 1.89 KB
/
build.gradle
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
51
52
53
buildscript {
ext {
//version here to share between build script and projects
verKotlin = '1.2.51'
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
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.20.0'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}
subprojects {
group = GROUP
version = VERSION_NAME
}
apply plugin: 'com.github.ben-manes.versions'
ext {
minSdkVersion = 14
compileSdkVersion = 27
targetSdkVersion = compileSdkVersion
buildToolsVersion = '27.0.3'
supportLibVersion = '27.1.1'
lifecycleVersion = '1.1.1'
lifecycleRuntimeVersion = '1.1.1'
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.17'
rxAndroid = 'io.reactivex.rxjava2:rxandroid:2.0.2'
navi = 'com.trello.navi2:navi:2.0.1'
lifecycle = "android.arch.lifecycle:runtime:$lifecycleRuntimeVersion"
lifecycleProcessor = "android.arch.lifecycle:compiler:$lifecycleVersion"
lifecycleExtensions = "android.arch.lifecycle:extensions:$lifecycleVersion"
kotlinStdlib = "org.jetbrains.kotlin:kotlin-stdlib:$verKotlin"
appCompat = "com.android.support:appcompat-v7:$supportLibVersion"
preferenceCompat = "com.android.support:preference-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.8'
}