Generate source jars and jdoc jars for each project.
This commit is contained in:
parent
b76bf02f3f
commit
029a7c3dc8
|
|
@ -42,10 +42,6 @@ tasks.withType(JavaCompile).configureEach {
|
|||
it.options.release = 16
|
||||
}
|
||||
|
||||
java {
|
||||
withSourcesJar()
|
||||
}
|
||||
|
||||
jar {
|
||||
dependsOn ":Common:compileJava"
|
||||
from project(":Common").sourceSets.main.output
|
||||
|
|
|
|||
|
|
@ -3,7 +3,9 @@ subprojects {
|
|||
apply plugin: 'java'
|
||||
|
||||
java.toolchain.languageVersion = JavaLanguageVersion.of(16)
|
||||
|
||||
java.withSourcesJar()
|
||||
java.withJavadocJar()
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
attributes([
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user