Ahhh gradle :|

This commit is contained in:
p2vman 2025-02-17 19:24:20 +02:00
parent 6b26c892e7
commit f346bb3c23
1 changed files with 8 additions and 2 deletions

View File

@ -31,7 +31,7 @@ task mergePlugins(type: Jar) {
archiveVersion = version
def projects = [':base', ':velocity', ':spigot', ":boungecord"]
from {
def jars = {
def jr = []
projects.forEach {
evaluationDependsOn(it)
@ -40,7 +40,13 @@ task mergePlugins(type: Jar) {
jr.add(task.get().archiveFile.get())
}
return jr
}.collect { zipTree(it) }
}
from jars().collect { zipTree(it) }
from(file("LICENSE")) {
into("META-INF/license")
rename { "eptalist-LICENSE.txt" }
}
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}