mirror of
https://gitee.com/BTAJL/repchain.git
synced 2024-11-29 18:28:27 +08:00
assembly时,标识mainClass
This commit is contained in:
parent
9606b3bb5a
commit
b8d8f99e2c
@ -1,6 +1,7 @@
|
||||
// put this at the top of the file
|
||||
// 这个是打包之后jar包的名字
|
||||
assemblyJarName in assembly := "RepChain.jar"
|
||||
//mainClass in assembly := Some("rep.app.Repchain")
|
||||
|
||||
// 这个作用是在打包的时候,跳过测试
|
||||
test in assembly := {}
|
@ -101,4 +101,4 @@ fork in run := true
|
||||
javaOptions in run ++= Seq("-Dlogback.configurationFile=conf/logback.xml")
|
||||
|
||||
mainClass in (Compile, run) := Some("rep.app.Repchain")
|
||||
mainClass in packageBin := Some("rep.app.Repchain_Single")
|
||||
mainClass in (Compile, packageBin) := Some("rep.app.Repchain")
|
Loading…
Reference in New Issue
Block a user