add build tooltips
This commit is contained in:
parent
8f9bbbdce0
commit
c7bd67f0ec
|
|
@ -7,7 +7,7 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
baseName = "xpatch"
|
baseName = "mmpatch"
|
||||||
manifest {
|
manifest {
|
||||||
attributes 'Main-Class': 'com.storm.wind.xpatch.MainCommand'
|
attributes 'Main-Class': 'com.storm.wind.xpatch.MainCommand'
|
||||||
}
|
}
|
||||||
|
|
@ -24,6 +24,11 @@ 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