add build tooltips
This commit is contained in:
parent
8f9bbbdce0
commit
c7bd67f0ec
|
|
@ -6,8 +6,8 @@ dependencies {
|
||||||
compile project(':apksigner')
|
compile project(':apksigner')
|
||||||
}
|
}
|
||||||
|
|
||||||
jar{
|
jar {
|
||||||
baseName = "xpatch"
|
baseName = "mmpatch"
|
||||||
manifest {
|
manifest {
|
||||||
attributes 'Main-Class': 'com.storm.wind.xpatch.MainCommand'
|
attributes 'Main-Class': 'com.storm.wind.xpatch.MainCommand'
|
||||||
}
|
}
|
||||||
|
|
@ -18,12 +18,17 @@ jar{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
from fileTree(dir:'src/main', includes: ['assets/**'])
|
from fileTree(dir: 'src/main', includes: ['assets/**'])
|
||||||
|
|
||||||
//排除引用的jar中的签名信息
|
//排除引用的jar中的签名信息
|
||||||
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'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.build.doLast {
|
||||||
|
println("Build to " + jar.archivePath)
|
||||||
|
println("Try \'java -jar " + jar.archiveName + "\' find more help")
|
||||||
|
}
|
||||||
|
|
||||||
//添加源码中引入的非代码文件,例如资源等
|
//添加源码中引入的非代码文件,例如资源等
|
||||||
sourceSets.main.resources {
|
sourceSets.main.resources {
|
||||||
srcDirs = [
|
srcDirs = [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue