Javadocs
This commit is contained in:
@@ -15,8 +15,8 @@ def customizePom(pom, gradleProject) {
|
||||
|
||||
// add all items necessary for maven central publication
|
||||
generatedPom.project {
|
||||
name = gradleProject.description
|
||||
description = gradleProject.description
|
||||
name = "Springloaded"//gradleProject.description
|
||||
description = "JVM reloading agent"//gradleProject.description
|
||||
url = "https://github.com/spring-projects/spring-loaded"
|
||||
organization {
|
||||
name = "Spring IO"
|
||||
|
||||
@@ -3,6 +3,7 @@ apply plugin: 'maven'
|
||||
group = "org.springframework"
|
||||
jar.baseName = 'springloaded'
|
||||
|
||||
|
||||
task writeNewPom << {
|
||||
pom {
|
||||
project {
|
||||
@@ -108,11 +109,16 @@ task agentjar(type: Jar, dependsOn: jar) {
|
||||
}
|
||||
}
|
||||
|
||||
task javadocJar(type: Jar) {
|
||||
classifier="javadoc"
|
||||
from javadoc
|
||||
}
|
||||
|
||||
// add the jars as artifacts
|
||||
artifacts {
|
||||
archives sourcesJar
|
||||
archives agentjar
|
||||
archives javadocJar
|
||||
archives agentSourcesJar
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user