-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
75 lines (71 loc) · 2.29 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
def versions = [:]
versions.android_gradle_plugin = '3.6.3'
versions.activity_ktx = '1.1.0'
versions.arch_core = '2.1.0'
versions.atsl_core = "1.2.0"
versions.atsl_junit = "1.1.1"
versions.atsl_monitor = "1.2.0"
versions.atsl_rules = '1.2.0'
versions.atsl_runner = '1.2.0'
versions.compose_version = "0.1.0-dev10"
versions.constraint_layout = '2.0.0-beta6'
versions.core_ktx = '1.2.0'
versions.coroutine = '1.3.5'
versions.coroutines_adapter = "0.9.2"
versions.dagger = '2.27'
versions.diffplug = "3.28.1"
versions.espresso = '3.3.0-beta01'
versions.fragment = '1.3.0-alpha04'
versions.fragment_testing = '1.3.0-alpha04'
versions.glide = '4.11.0'
versions.hamcrest = "1.3"
versions.junit = '4.13'
versions.koin = '2.0.1'
versions.kotlin = '1.3.72'
versions.ktlint = "0.33.0"
versions.lifecycle = '2.2.0'
versions.material = '1.1.0'
versions.mockito = "2.25.0"
versions.mockwebserver = "3.8.1"
versions.moshi = '1.9.2'
versions.navigation = '2.3.0-alpha06'
versions.paging = '2.1.2'
versions.preference = '1.1.1'
versions.retrofit = '2.8.1'
versions.robolectric = '4.3.1'
versions.room = '2.2.5'
versions.support = '1.1.0'
versions.swiperefreshlayout = '1.1.0-rc01'
versions.truth = '1.0.1'
ext.versions = versions
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:$versions.android_gradle_plugin"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
classpath "org.jetbrains.kotlin:kotlin-allopen:$versions.kotlin"
classpath "org.jetbrains.kotlin:kotlin-noarg:$versions.kotlin"
classpath "com.diffplug.spotless:spotless-plugin-gradle:$versions.diffplug"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$versions.navigation"
}
}
apply plugin: "com.diffplug.gradle.spotless"
allprojects {
repositories {
google()
jcenter()
}
}
task cleanBuild(type: Delete) {
delete rootProject.buildDir
}
spotless {
kotlin {
target "**/*.kt"
ktlint(versions.ktlint)
}
}