Skip to content

Commit

Permalink
add javadoc and sources
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobasco99 committed May 17, 2024
1 parent 20407c2 commit 18e3c32
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ javadoc {
destinationDir = file("$projectDir/export/javadoc")
}

java {
withJavadocJar()
withSourcesJar()
}

task junitdoc(type: Javadoc) {
doFirst {options.addStringOption("encoding", "iso-8859-1")}
classpath = sourceSets.main.runtimeClasspath + sourceSets.test.runtimeClasspath
Expand Down
5 changes: 5 additions & 0 deletions restmapper/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ javadoc {
destinationDir = file("$projectDir/export/javadoc")
}

java {
withJavadocJar()
withSourcesJar()
}

task junitdoc(type: Javadoc) {
classpath = sourceSets.main.runtimeClasspath + sourceSets.test.runtimeClasspath
source = sourceSets.test.java
Expand Down
5 changes: 5 additions & 0 deletions webconnector/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ jar {
}
}

java {
withJavadocJar()
withSourcesJar()
}

task copyToLib(type: Copy) {
from configurations.runtimeClasspath
into "$projectDir/lib"
Expand Down

0 comments on commit 18e3c32

Please sign in to comment.