mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 17:17:37 +00:00
Yes, there is
This commit is contained in:
parent
6a8228947b
commit
3d70100119
@ -72,15 +72,19 @@ subprojects {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks.clean {
|
tasks.clean {
|
||||||
// Is there any way to not need to specify each subproject?
|
dependsOn(subprojects.map {
|
||||||
dependsOn(":server:clean")
|
it.project.tasks.clean
|
||||||
dependsOn(":proxy:clean")
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.create<Copy>("copyJars") {
|
tasks.create<Copy>("copyJars") {
|
||||||
|
dependsOn(tasks.jar)
|
||||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
// Is there any way to not need to specify each subproject?
|
from(subprojects.map {
|
||||||
from(tasks.getByPath(":server:shadowJar"))
|
it.project.tasks.shadowJar
|
||||||
from(tasks.getByPath(":proxy:jar"))
|
})
|
||||||
|
from(subprojects.map {
|
||||||
|
it.project.tasks.jar
|
||||||
|
})
|
||||||
into(file("build/libs"))
|
into(file("build/libs"))
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user