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
|
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
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user