-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
64 lines (57 loc) · 1.62 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext{
// Sdk and tools
compileSdkVersion = 28
minSdkVersion = 23
targetSdkVersion = 28
// App dependencies
kotlin_version = '1.4.0'
appCompatVersion = '1.2.0'
constraintLayoutVersion = '2.0.1'
coreTestingVersion = '2.1.0'
coroutinesVersion = "1.3.0"
espressoVersion = '3.3.0'
fragmentVersion = '1.3.0-alpha08'
gradleVersion = '4.0.1'
gsonVersion = '2.8.6'
junitVersion = '4.13'
kotlinVersion = '1.3.41'
ktlintVersion = '0.33.0'
ktxVersion = '1.3.1'
lifecycleVersion = '2.2.0'
materialVersion = '1.3.0-alpha02'
mpChartVersion = "v3.1.0"
navigationVersion = '2.3.0'
preferenceVersion = '1.1.1'
recyclerViewVersion = '1.1.0-alpha05'
roomVersion = '2.3.0-alpha02'
testExtJunit = '1.1.0'
viewPagerVersion = '1.0.0'
workVersion = '2.4.0'
}
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:${gradleVersion}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigationVersion"
}
}
plugins {
id("com.diffplug.spotless") version "5.1.1"
}
allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
}
}
spotless {
kotlin {
target "**/*.kt"
}
}