简体   繁体   中英

Change name in universal package of sbt-native-packager

I want to attach sbt-native-packager to a root-aggregate of a project, but that root project has published name for Maven of "foobar" . I want the artifact generated through universal:packageBin to consistently use "foo" instead.

How do I accomplish this?

I tried

name in Universal := "foo"
executableScriptName in Universal := "foo"

etc. None has an effect. I end up having bin/foobar and bin/foobar.bat .

executableScriptName不能正常范围的,所以你必须做到以下几点”

executableScriptName := "foo"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM