-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
84 lines (66 loc) · 2.03 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.41'
ext {
gradle_plugin_version = '3.4.2'
minSdkVersion = 22
versionName = "0.1.0"
versionCode = 1
compileSdkVersion = 28
targetSdkVersion = 28
buildToolsVersion = "28.0.3"
// DEPENDENCIES
// Android Architecture Components
aacNavigationVersion = "1.0.0-alpha01"
supportLibVersion = "28.0.0"
constraintLayoutVersion = "1.1.2"
javaxAnnotationVersion = "10.0-b28"
dagger2Version = "2.16"
aboutlibrariesVersion = "7.0.1"
materialdrawerVersion = "7.0.0-rc03"
iconicsVersion = "4.0.1-b01"
rxKotlinVersion = "2.3.0"
rxBindingVersion = "2.2.0"
rxLifecycleVersion = "2.2.2"
timberKtVersion = "1.5.1"
fuelVersion = "2.2.0"
gsonVersion = "2.8.5"
kotsonVersion = "2.5.0"
epoxyVersion = "3.7.0"
objectboxVersion = "2.3.4"
}
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
classpath "com.android.tools.build:gradle:$gradle_plugin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.objectbox:objectbox-gradle-plugin:$objectboxVersion"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
apply plugin: 'kotlin'
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
configurations.all() {
resolutionStrategy.force "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
resolutionStrategy.force "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}