Fix build env

This commit is contained in:
Daniel Mills 2021-07-28 20:41:25 -04:00
parent b2a410d6cf
commit b4c0d8e829

View File

@ -50,8 +50,6 @@ def registerCustomOutputTask(name, path) {
} }
} }
file(jar.archiveFile.get().getAsFile().getParentFile().getParentFile().getParentFile().getAbsolutePath() + '/build/resources/main/plugin.yml').delete()
processResources { processResources {
filesMatching('**/plugin.yml') { filesMatching('**/plugin.yml') {
expand( expand(
@ -72,14 +70,15 @@ repositories {
} }
shadowJar shadowJar
{ {
minimize() append("plugin.yml")
dependencies { minimize()
include(dependency('org.zeroturnaround:zt-zip:1.14')) dependencies {
include(dependency('com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4.2')) include(dependency('org.zeroturnaround:zt-zip:1.14'))
include(dependency('io.papermc:paperlib:1.0.5')) include(dependency('com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4.2'))
} include(dependency('io.papermc:paperlib:1.0.5'))
} }
}
manifest() manifest()