mirror of
https://github.com/Eyre-S/Coeur-Morny-Cono.git
synced 2024-11-22 03:04:54 +08:00
fix sources jar gen in scala
This commit is contained in:
parent
981098cf6e
commit
985fde9aa2
@ -92,6 +92,10 @@ dependencies {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
|
|
||||||
sourceCompatibility proj_java.getMajorVersion()
|
sourceCompatibility proj_java.getMajorVersion()
|
||||||
@ -144,9 +148,12 @@ buildConfig {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(Jar).configureEach {
|
||||||
|
archiveBaseName.set proj_archive_name
|
||||||
|
}
|
||||||
|
|
||||||
shadowJar {
|
shadowJar {
|
||||||
|
|
||||||
archiveBaseName.set proj_archive_name
|
|
||||||
archiveClassifier.set "fat"
|
archiveClassifier.set "fat"
|
||||||
|
|
||||||
if (project.hasProperty("dockerBuild")) {
|
if (project.hasProperty("dockerBuild")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user