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
}
java {
withSourcesJar()
}
jar {
dependsOn ":Common:compileJava"
from project(":Common").sourceSets.main.output

View File

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