fix jar runtime exception
This commit is contained in:
parent
1845e4e5b4
commit
e4a3cf7e6c
|
|
@ -10,10 +10,10 @@ java {
|
|||
compileJava.options.encoding = "UTF-8"
|
||||
|
||||
dependencies {
|
||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||
compile project(':axmlprinter')
|
||||
compile project(':apksigner')
|
||||
compile group: 'commons-io', name: 'commons-io', version: '2.8.0'
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation project(':axmlprinter')
|
||||
implementation project(':apksigner')
|
||||
implementation group: 'commons-io', name: 'commons-io', version: '2.8.0'
|
||||
}
|
||||
|
||||
jar {
|
||||
|
|
@ -23,7 +23,7 @@ jar {
|
|||
attributes 'Main-Class': 'com.storm.wind.xpatch.MainCommand'
|
||||
}
|
||||
from {
|
||||
(configurations.runtime).collect {
|
||||
configurations.runtimeClasspath.collect {
|
||||
it.isDirectory() ? it : zipTree(it)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue