fix build
This commit is contained in:
parent
bd87428415
commit
d720408498
|
|
@ -25,6 +25,7 @@ jar {
|
||||||
manifest {
|
manifest {
|
||||||
attributes 'Main-Class': 'com.storm.wind.xpatch.MainCommand'
|
attributes 'Main-Class': 'com.storm.wind.xpatch.MainCommand'
|
||||||
}
|
}
|
||||||
|
dependsOn configurations.runtimeClasspath
|
||||||
from {
|
from {
|
||||||
configurations.runtimeClasspath.collect {
|
configurations.runtimeClasspath.collect {
|
||||||
it.isDirectory() ? it : zipTree(it)
|
it.isDirectory() ? it : zipTree(it)
|
||||||
|
|
@ -33,7 +34,7 @@ jar {
|
||||||
|
|
||||||
from fileTree(dir: 'src/main', includes: ['assets/**'])
|
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 {
|
tasks.build.doLast {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue