-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle.kts
44 lines (38 loc) · 878 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
plugins {
java
jacoco
`maven-publish`
}
group = "dev.hbeck.kdl"
version = "0.2.0"
repositories {
mavenCentral()
}
publishing {
publications {
create<MavenPublication>("default") {
from(components["java"])
}
}
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/hkolbeck/kdl4j")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}
tasks.jacocoTestReport {
reports {
xml.isEnabled = false
csv.isEnabled = false
html.destination = file("${buildDir}/jacoco/coverage")
}
}
dependencies {
testImplementation("junit", "junit", "4.12")
testImplementation("org.mockito", "mockito-core", "3.7.7")
}