-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
73 lines (57 loc) · 1.8 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
buildscript {
ext.versions = [
kotlin: '1.3.72',
jacoco: '0.8.5',
compileSdkVersion: 29,
minSdkVersion: 21,
targetSdkVersion: 29,
]
ext.deps = [
kotlinStdLibJdk7: "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin}",
javapoet: 'com.squareup:javapoet:1.12.1',
google: [
autoService: "com.google.auto.service:auto-service:1.0-rc7",
material: 'com.google.android.material:material:1.1.0'
],
androidx: [
appcompat: 'androidx.appcompat:appcompat:1.1.0',
corektx: 'androidx.core:core-ktx:1.3.0',
constraintlayout: 'androidx.constraintlayout:constraintlayout:1.1.3'
],
test: [
junit: 'junit:junit:4.13',
mockk: 'io.mockk:mockk:1.10.0',
hamkrest: 'com.natpryce:hamkrest:1.7.0.3',
googleCompileTesting: 'com.google.testing.compile:compile-testing:0.18',
]
]
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.0'
classpath 'org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.16'
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:0.9.16'
}
}
plugins {
id "io.gitlab.arturbosch.detekt" version "1.9.1"
}
allprojects {
apply from: "$rootDir/gradle/detekt.gradle"
apply plugin: 'jacoco'
jacoco {
toolVersion = versions.jacoco
}
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}