-
Notifications
You must be signed in to change notification settings - Fork 51
/
build.gradle
43 lines (35 loc) · 1 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
import dependencies.Dependencies
apply plugin: Dependencies.Plugins.JACOCO
buildscript {
ext.kotlin_version = '1.3.61'
repositories {
google()
jcenter()
}
dependencies {
classpath Dependencies.ClassPaths.gradleClasspath
classpath Dependencies.ClassPaths.kotlinGradlePluginClasspath
classpath Dependencies.ClassPaths.jacoco
}
}
allprojects {
repositories {
google()
jcenter()
}
}
subprojects { subProject ->
//this allows to run detekt or ktlint for a specific module
// example usage: ./gradlew :data:ktlintFormat
apply from: "$project.rootDir/commonFiles/gradleScript/kotlin-code-quality.gradle"
}
junitJacoco {
jacocoVersion = '0.8.2' // type String
ignoreProjects = [] // type String array
excludes // type String List
includeNoLocationClasses = false // type boolean
includeInstrumentationCoverageInMergedReport = false // type boolean
}
task clean(type: Delete) {
delete rootProject.buildDir
}