/
build.gradle.kts
51 lines (41 loc) · 1.1 KB
/
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
47
48
49
50
51
buildscript {
repositories {
mavenLocal()
gradlePluginPortal()
}
dependencies {
classpath("org.shipkit:shipkit:2.2.5")
}
}
apply {
plugin("org.shipkit.java")
}
buildScan {
publishAlwaysIf(System.getenv("CI") != null)
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
subprojects {
repositories {
jcenter()
}
apply {
plugin("java-library")
}
val junitJupiterVersion = "5.7.0"
val testRuntimeOnly by configurations
val testImplementation by configurations
dependencies {
testImplementation(platform("org.junit:junit-bom:$junitJupiterVersion"))
testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
}
group = "io.github.epeee.shipkit-demo"
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
}
tasks.named<Wrapper>("wrapper") {
gradleVersion = "6.7-rc-1"
distributionSha256Sum = "77822eaca04dd0e1c59065877ab22b96f0b0c5d5a65df8f63a58ae31f8938c8a"
}