Ahhh gradle :|
This commit is contained in:
parent
6b26c892e7
commit
f346bb3c23
10
build.gradle
10
build.gradle
|
@ -31,7 +31,7 @@ task mergePlugins(type: Jar) {
|
||||||
archiveVersion = version
|
archiveVersion = version
|
||||||
|
|
||||||
def projects = [':base', ':velocity', ':spigot', ":boungecord"]
|
def projects = [':base', ':velocity', ':spigot', ":boungecord"]
|
||||||
from {
|
def jars = {
|
||||||
def jr = []
|
def jr = []
|
||||||
projects.forEach {
|
projects.forEach {
|
||||||
evaluationDependsOn(it)
|
evaluationDependsOn(it)
|
||||||
|
@ -40,7 +40,13 @@ task mergePlugins(type: Jar) {
|
||||||
jr.add(task.get().archiveFile.get())
|
jr.add(task.get().archiveFile.get())
|
||||||
}
|
}
|
||||||
return jr
|
return jr
|
||||||
}.collect { zipTree(it) }
|
}
|
||||||
|
from jars().collect { zipTree(it) }
|
||||||
|
|
||||||
|
from(file("LICENSE")) {
|
||||||
|
into("META-INF/license")
|
||||||
|
rename { "eptalist-LICENSE.txt" }
|
||||||
|
}
|
||||||
|
|
||||||
duplicatesStrategy = DuplicatesStrategy.INCLUDE
|
duplicatesStrategy = DuplicatesStrategy.INCLUDE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue