diff --git a/core/build.gradle b/core/build.gradle index 08b1f267..e714df4a 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -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 diff --git a/restmapper/build.gradle b/restmapper/build.gradle index 6ea7995b..189a6940 100644 --- a/restmapper/build.gradle +++ b/restmapper/build.gradle @@ -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 diff --git a/webconnector/build.gradle b/webconnector/build.gradle index 29281b27..60398882 100644 --- a/webconnector/build.gradle +++ b/webconnector/build.gradle @@ -108,6 +108,11 @@ jar { } } +java { + withJavadocJar() + withSourcesJar() +} + task copyToLib(type: Copy) { from configurations.runtimeClasspath into "$projectDir/lib"