diff --git a/build.gradle b/build.gradle index f7774cd16..eb2f38756 100644 --- a/build.gradle +++ b/build.gradle @@ -77,6 +77,9 @@ subprojects { publications { mavenJava(MavenPublication) { from components.java + artifact sourcesJar + artifact javadocJar + versionMapping { usage('java-api') { fromResolutionOf('runtimeClasspath') @@ -85,6 +88,29 @@ subprojects { fromResolutionResult() } } + pom { + name = 'Spring OpenAPI 3.0 documentation generator' + description = 'Spring OpenAPI 3.0 documentation generator' + url = 'https://springdoc.org/' + licenses { + license { + name = 'The Apache License, Version 2.0' + url = 'http://www.apache.org/licenses/LICENSE-2.0.txt' + } + } + developers { + developer { + id = 'bnasslahsen' + name = 'Badr NASS' + email = 'support@springdoc.org' + } + } + scm { + connection = 'scm:git:git@github.com:springdoc/springdoc-openapi.git' + developerConnection = 'scm:git:ssh://github.com:springdoc/springdoc-openapi.git' + url = 'https://springdoc.org/' + } + } } } repositories {