-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
81 lines (56 loc) · 1.58 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: "org.jlleitschuh.gradle.ktlint"
buildscript {
ext {
config = [
compileSdk: 29,
minSdk: 23,
targetSdk: 29,
versionCode: 1,
versionName: "1.0.0"
]
versions = [
kotlin: "1.3.72",
timber: "4.7.1",
utilcodex: "1.26.0",
sensey: "1.8.0",
coroutines: "1.3.4",
koin: "2.0.1",
okhttp: "4.4.1",
retrofit: "2.8.1",
kandroid: "0.8.8@aar",
kotpref: "2.10.0",
materialDialogs: "3.1.1",
]
}
repositories {
google()
jcenter()
gradlePluginPortal()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
classpath "org.jlleitschuh.gradle:ktlint-gradle:9.2.1"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
maven { url "https://plugins.gradle.org/m2" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ktlint {
android = true
outputColorName = "RED"
disabledRules = [
"no-wildcard-imports"
]
}