How do you remove the _ postfix from artifacts built+published with simple-build-tool?

后端 未结 4 1436
春和景丽
春和景丽 2020-12-23 19:16

I\'m building a few Java-only projects using simple-build-tool. When I publish the artifacts from the projects using, say, sbt publish-local then the resulting artifacts ha

4条回答
  •  执念已碎
    2020-12-23 19:19

    While the accepted answer is strictly correct, you should never set crossVersions to false on publicly published Scala artifacts. The embedded scala version is an important compatibility feature, since different versions of the Scala libraries may not be binary compatible.

    Only set crossVersions to false for projects, like those in the question, that are strictly Java only.

提交回复
热议问题