-
Notifications
You must be signed in to change notification settings - Fork 117
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
78 lines (68 loc) · 2.65 KB
/
build.gradle.kts
File metadata and controls
78 lines (68 loc) · 2.65 KB
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
import io.spring.gradle.dependencymanagement.dsl.DependencyManagementExtension
import kotlin.apply
plugins {
kotlin("jvm")
signing
}
repositories {
mavenCentral()
}
apply(plugin = "io.spring.dependency-management")
the<DependencyManagementExtension>().apply {
imports {
mavenBom(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES)
}
}
dependencies {
implementation(project(":restdocs-api-spec"))
implementation("org.springframework.restdocs:spring-restdocs-webtestclient")
implementation("org.springframework:spring-webflux")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.hibernate.validator:hibernate-validator:9.0.1.Final")
testImplementation("org.springframework.boot:spring-boot-starter-validation")
testImplementation("org.junit.jupiter:junit-jupiter-engine")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation("org.springframework.boot:spring-boot-starter-web")
testImplementation("org.springframework.boot:spring-boot-restdocs")
testImplementation("org.springframework.boot:spring-boot-starter-hateoas")
testImplementation("org.springframework.boot:spring-boot-starter-webflux-test")
testImplementation("io.projectreactor:reactor-core")
testImplementation(testFixtures(project(":restdocs-api-spec")))
}
publishing {
publications {
create<MavenPublication>("mavenJava") {
from(components["java"])
pom {
name.set("REST Doc API Spec - Web Test Client")
description.set("Adds API specification support to Spring REST Docs ")
url.set("https://github.com/ePages-de/restdocs-api-spec")
licenses {
license {
name.set("MIT License")
url.set("https://github.com/ePages-de/restdocs-api-spec/blob/master/LICENSE")
}
}
developers {
developer {
id.set("ePages")
name.set("ePages Devs")
email.set("info@epages.com")
}
}
scm {
connection.set("scm:git:git://github.com/ePages-de/restdocs-api-spec.git")
developerConnection.set("scm:git:ssh://github.com/ePages-de/restdocs-api-spec.git")
url.set("https://github.com/ePages-de/restdocs-api-spec")
}
}
}
}
}
signing {
sign(publishing.publications["mavenJava"])
}
java {
withJavadocJar()
withSourcesJar()
}