-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
64 lines (59 loc) · 1.98 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
group = "${rootProject.group}.testkit"
project.ext {
artifactDisplayName = "Abort Mission - Booster Test Kit"
artifactDescription = "A collection of classes we can use to test Abort Mission Boosters."
}
dependencies {
implementation project(":mission-control")
implementation libs.spring.boot.starter
implementation libs.spring.boot.starter.test
implementation libs.bundles.logback.test
testImplementation libs.jupiter.api
testImplementation libs.jupiter.core
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
constraints {
implementation libs.bundles.spring.test
}
}
test {
useJUnitPlatform()
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifactId = "abort.${project.name}"
pom {
name = "${project.artifactDisplayName}"
description = "${project.artifactDescription}"
url = rootProject.ext.repoUrl
licenses {
license {
name = rootProject.ext.licenseName
url = rootProject.ext.licenseUrl
}
}
developers {
developer {
id = rootProject.ext.maintainerId
name = rootProject.ext.maintainerName
url = rootProject.ext.maintainerUrl
}
}
scm {
connection = rootProject.ext.scmConnection
developerConnection = rootProject.ext.scmConnection
url = rootProject.ext.scmProjectUrl
}
withXml {
asNode().dependencies.'*'.findAll() {
it.scope.text() == 'runtime'
}.each { it.scope*.value = 'compile' }
}
}
}
}
}
signing {
sign publishing.publications.mavenJava
}