-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
76 lines (70 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
// Sdk and tools
buildToolsVersion = "29.0.2"
minSdkVersion = 23
compileSdkVersion = 29
targetSdkVersion = 29
jvmTarget = JavaVersion.VERSION_1_8
// App dependencies
annotationVersion = '1.2.0'
annotationSupportVersion = '28.0.0'
appCompatVersion = '1.2.0'
archLifecycleVersion = '2.3.1'
constraintLayoutVersion = '2.0.0-beta4'
coreTestingVersion = '2.1.0'
coroutinesVersion = '1.3.3-native-mt'
espressoVersion = '3.2.0'
fragmentVersion = '1.2.1'
legacyVersion = '1.0.0'
lifecycleVersion = '2.2.0'
gradleVersion = '4.0.0-alpha09'
gsonVersion = '2.8.7'
junitVersion = '4.13.2'
kotlinVersion = '1.5.21'
ktlintVersion = '0.33.0'
ktxVersion = '1.6.0'
materialVersion = '1.4.0'
navigationVersion = '2.2.1'
okhttpVersion = '4.9.1'
recyclerViewVersion = '1.2.1'
retrofitVersion = '2.9.0'
retrofitGsonConverterVersion = '2.9.0'
roomVersion = '2.3.0'
sonarqubePluginVersion = '2.8'
spotlessPluginVersion = '3.30.0'
testExtJunit = '1.1.3'
testRules = '1.3.0-alpha03'
testRunner = '1.0.2'
}
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:$gradleVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigationVersion"
}
}
plugins {
id "com.diffplug.gradle.spotless" version "$spotlessPluginVersion"
}
allprojects {
repositories {
google()
jcenter()
}
}
/*
task clean(type: Delete) {
delete rootProject.buildDir
}
*/
spotless {
kotlin {
target "**/*.kt"
ktlint(ktlintVersion).userData(['max_line_length' : '250'])
}
}