fix build

This commit is contained in:
327135569 2021-04-08 23:34:42 +08:00
parent bd87428415
commit d720408498
1 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ jar {
manifest {
attributes 'Main-Class': 'com.storm.wind.xpatch.MainCommand'
}
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.collect {
it.isDirectory() ? it : zipTree(it)
@ -33,7 +34,7 @@ jar {
from fileTree(dir: 'src/main', includes: ['assets/**'])
exclude 'META-INF/*.SF', 'META-INF/*.DSA', 'META-INF/*.RSA', 'META-INF/*.MF'
exclude 'META-INF/*.SF', 'META-INF/*.DSA', 'META-INF/*.RSA', 'META-INF/*.MF', 'META-INF/*.txt'
}
tasks.build.doLast {