Dependencies were not being saved in the 1.20 jar file in a embedded way
This commit is contained in:
parent
e2ef0a02f6
commit
79ae46c505
2 changed files with 6 additions and 1 deletions
|
@ -203,6 +203,11 @@ tasks.named('processResources', ProcessResources).configure {
|
|||
|
||||
// Example for how to get properties into the manifest for reading at runtime.
|
||||
tasks.named('jar', Jar).configure {
|
||||
from {
|
||||
configurations.provided.asFileTree.collect{zipTree(it)}
|
||||
}
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
|
||||
manifest {
|
||||
attributes([
|
||||
'Specification-Title' : mod_id,
|
||||
|
|
Reference in a new issue