-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
83 lines (73 loc) · 2.69 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
import net.researchgate.release.ReleasePlugin
plugins {
base
kotlin("jvm") version "1.7.22" apply false
id("com.ekino.oss.plugin.kotlin-quality") version "3.3.0" apply false
id("net.researchgate.release") version "3.0.2"
id("org.jetbrains.dokka") version "1.7.20"
}
allprojects {
group = "com.ekino.oss.wiremock"
repositories {
mavenCentral()
}
project.extra.set("junit5.version", "5.9.0")
project.extra.set("wiremock.version", "2.33.2")
project.extra.set("assertk.version", "0.25")
}
tasks.create("printVersion") {
doLast {
val version: String by project
println(version)
}
}
subprojects {
apply<MavenPublishPlugin>()
apply<ReleasePlugin>()
configure<PublishingExtension> {
publications {
create<MavenPublication>("mavenJava") {
pom {
name.set("Wiremock unused stubs junit extension")
description.set("Junit extension for tracking unused wiremock stubs.")
url.set("https://github.com/ekino/wiremock-unused-stubs-junit")
licenses {
license {
name.set("MIT License (MIT)")
url.set("https://opensource.org/licenses/mit-license")
}
}
developers {
developer {
name.set("Nicolas Gunther")
email.set("[email protected]")
organization.set("ekino")
organizationUrl.set("https://www.ekino.com/")
}
}
scm {
connection.set("scm:git:git://github.com/ekino/jcv-db.git")
developerConnection.set("scm:git:ssh://github.com:ekino/wiremock-unused-stubs-junit.git")
url.set("https://github.com/ekino/jcv-db")
}
organization {
name.set("ekino")
url.set("https://www.ekino.com/")
}
}
repositories {
maven {
val ossrhUrl: String? by project
val ossrhUsername: String? by project
val ossrhPassword: String? by project
url = uri(ossrhUrl ?: "")
credentials {
username = ossrhUsername
password = ossrhPassword
}
}
}
}
}
}
}