-
-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathbuild.gradle
More file actions
57 lines (53 loc) · 1.83 KB
/
build.gradle
File metadata and controls
57 lines (53 loc) · 1.83 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
plugins {
id "com.diffplug.spotless" version "6.25.0"
}
dependencies {
implementation 'org.eclipse.microprofile.openapi:microprofile-openapi-api:4.0.2'
testImplementation 'org.slf4j:slf4j-jdk14:2.0.16'
testImplementation 'org.openapitools.empoa:empoa-simple-models-impl:2.1.0'
testImplementation 'nl.jqno.equalsverifier:equalsverifier:3.16.2'
}
java {
withJavadocJar()
withSourcesJar()
}
spotless {
java {
removeUnusedImports()
trimTrailingWhitespace()
palantirJavaFormat()
}
}
publishing {
publications {
mavenJava(MavenPublication) {
artifactId = 'openapi-style-validator-lib'
pom {
name = 'OpenAPI Style Validator - lib'
description = 'Library to validate the style and standards of an OpenAPI specification'
packaging = 'jar'
url = 'https://openapitools.github.io/openapi-style-validator/'
inceptionYear = "2019"
licenses {
license {
name = 'Apache 2.0 License'
url = 'http://www.apache.org/licenses/LICENSE-2.0'
}
}
developers {
developer {
id = 'JFCote'
name = 'Jean-Francois Cote'
email = 'jcote@stingray.com'
}
}
scm {
connection = 'scm:git:https://github.com/openapitools/openapi-style-validator.git'
developerConnection = 'scm:git:https://github.com/openapitools/openapi-style-validator.git'
url = 'https://github.com/openapitools/openapi-style-validator/'
}
}
from components.java
}
}
}