-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
46 lines (36 loc) · 934 Bytes
/
build.gradle.kts
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
plugins {
kotlin("jvm") version "2.1.10"
id("org.sonarqube") version "6.0.1.5171"
jacoco
}
repositories {
mavenCentral()
}
version = "1.0"
dependencies {
implementation("com.github.ajalt.clikt:clikt:5.0.3")
implementation("ch.qos.logback:logback-classic:1.5.17")
testImplementation(platform("org.junit:junit-bom:5.12.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
sonar {
properties {
property("sonar.projectKey", "the-nuclear-gandhi_advent-of-code")
property("sonar.organization", "the-nuclear-gandhi")
property("sonar.host.url", "https://sonarcloud.io")
}
}
jacoco {
toolVersion = "0.8.12"
}
tasks.test {
useJUnitPlatform()
finalizedBy(tasks.jacocoTestReport)
}
tasks.jacocoTestReport {
dependsOn(tasks.test)
reports {
xml.required.set(true)
}
}