update to Gradle 7.3.2

This commit is contained in:
Jörg Prante 2021-12-19 00:37:39 +01:00
parent 3301dbddec
commit 893f44cf78
4 changed files with 15 additions and 6 deletions

View file

@ -4,7 +4,7 @@ version = 0.0.2
org.gradle.warning.mode = ALL org.gradle.warning.mode = ALL
groovy.version = 2.5.12 groovy.version = 2.5.12
gradle.wrapper.version = 7.3 gradle.wrapper.version = 7.3.2
files.version = 3.0.0 files.version = 3.0.0
ftp.version = 2.6.0 ftp.version = 2.6.0
mail.version = 1.6.2 mail.version = 1.6.2

View file

@ -21,7 +21,13 @@ tasks.withType(GroovyCompile) {
} }
} }
task groovydocJar(type: Jar, dependsOn: 'groovydoc') { task groovydocJar(type: Jar) {
dependsOn groovydoc
from groovydoc.destinationDir from groovydoc.destinationDir
archiveClassifier.set('javadoc') archiveClassifier.set('groovydoc')
}
tasks.assemble.dependsOn(tasks.groovydocJar)
artifacts {
archives groovydocJar
} }

View file

@ -21,13 +21,16 @@ jar {
} }
} }
task sourcesJar(type: Jar, dependsOn: classes) { task sourcesJar(type: Jar) {
dependsOn classes
classifier 'sources' classifier 'sources'
from sourceSets.main.allSource from sourceSets.main.allSource
} }
task javadocJar(type: Jar, dependsOn: javadoc) { task javadocJar(type: Jar) {
dependsOn javadoc
classifier 'javadoc' classifier 'javadoc'
from javadoc.destinationDir
} }
artifacts { artifacts {

View file

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.2-all.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists