-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
47 lines (37 loc) · 939 Bytes
/
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
buildscript {
ext {
detektVersion = "1.14.1"
}
repositories {
jcenter()
}
dependencies {
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$detektVersion"
}
}
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.4.10'
id 'io.gitlab.arturbosch.detekt' version "$detektVersion"
}
group 'de.smartsquare'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib"
testImplementation "org.junit.jupiter:junit-jupiter:5.4.2"
testImplementation "org.amshove.kluent:kluent:1.61"
}
test {
useJUnitPlatform()
}
detekt {
config = files("${project.rootDir}/detekt.yml")
buildUponDefaultConfig = true
reports {
xml.destination = file("$buildDir/reports/detekt/detekt.xml")
html.destination = file("$buildDir/reports/detekt/detekt.html")
}
}