Overriding the package name in sbt 0.11.2

I have an sbt project creating a jar that works fine except that the file name created sbt packageis equal recentusers_2.9.1-0.1.jar. Can I override this? I just want to remove the Scala version from the name, since my project source is pure Java.

+3
source share
1 answer

For a clean Java project, use:

crossPaths := false

not artifacts or cross version paths and:

autoScalaLibrary := false

so as not to automatically add a dependency on the Scala library.

+3
source

All Articles