-
Notifications
You must be signed in to change notification settings - Fork 638
/
build.gradle
48 lines (43 loc) · 1.68 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
buildscript {
ext {
//version here to share between build script and projects
verKotlin = '1.3.72'
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.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.28.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 = 28
targetSdkVersion = compileSdkVersion
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.rxjava3:rxjava:3.0.4'
rxAndroid = 'io.reactivex.rxjava3:rxandroid:3.0.0'
navi = 'com.trello.navi2:navi:2.1.0'
lifecycle = 'androidx.lifecycle:lifecycle-runtime:2.2.0'
lifecycleProcessor = 'androidx.lifecycle:lifecycle-compiler:2.2.0'
lifecycleExtensions = 'androidx.lifecycle:lifecycle-extensions:2.2.0'
kotlinStdlib = "org.jetbrains.kotlin:kotlin-stdlib:$verKotlin"
appCompat = 'androidx.appcompat:appcompat:1.1.0'
preferenceCompat = 'androidx.preference:preference:1.1.1'
supportAnnotations = 'androidx.annotation:annotation:1.1.0'
jsr305Annotations = 'com.google.code.findbugs:jsr305:3.0.2'
junit = 'junit:junit:4.13'
robolectric = 'org.robolectric:robolectric:3.8'
}