Fixed issues with gradle uplift and added some additional javadoc
This commit is contained in:
parent
aad0ea81c7
commit
5f02f65ead
30 changed files with 144 additions and 92 deletions
|
|
@ -38,7 +38,7 @@ nexusPublishing {
|
|||
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
maven(MavenPublication) {
|
||||
from components.java
|
||||
|
||||
pom {
|
||||
|
|
@ -72,7 +72,7 @@ publishing {
|
|||
|
||||
signing {
|
||||
required { hasProperty("signing.secretKeyRingFile") }
|
||||
sign publishing.publications.mavenJava
|
||||
sign publishing.publications.maven
|
||||
}
|
||||
|
||||
// Generate version.txt
|
||||
|
|
@ -92,17 +92,3 @@ Build-time: ${java.time.LocalDateTime.now()}
|
|||
}
|
||||
|
||||
sourceSets.main.output.dir genOutputDir, builtBy: generateVersionTxt
|
||||
|
||||
// Generate additional Jars
|
||||
|
||||
task javadocJar(type: Jar) {
|
||||
from javadoc
|
||||
}
|
||||
|
||||
task sourcesJar(type: Jar) {
|
||||
from sourceSets.main.allSource
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives javadocJar, sourcesJar
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue