Generate source jars and jdoc jars for each project.

This commit is contained in:
Tyler Hancock 2021-09-28 03:09:54 -06:00
parent b76bf02f3f
commit 029a7c3dc8
No known key found for this signature in database
GPG Key ID: D10D32949D03E695
2 changed files with 3 additions and 5 deletions

View File

@ -42,10 +42,6 @@ tasks.withType(JavaCompile).configureEach {
it.options.release = 16 it.options.release = 16
} }
java {
withSourcesJar()
}
jar { jar {
dependsOn ":Common:compileJava" dependsOn ":Common:compileJava"
from project(":Common").sourceSets.main.output from project(":Common").sourceSets.main.output

View File

@ -3,6 +3,8 @@ subprojects {
apply plugin: 'java' apply plugin: 'java'
java.toolchain.languageVersion = JavaLanguageVersion.of(16) java.toolchain.languageVersion = JavaLanguageVersion.of(16)
java.withSourcesJar()
java.withJavadocJar()
jar { jar {
manifest { manifest {