I have an sbt project that I need publish-local and then use it from an other project as a "libraryDependencies". It all builds fine but the groupId of the artifact is the same as the name of it. Can I specify the groupId somehow in my build.sbt?
There is organization
setting for this purpose.
An example from AkkaBuild.scala
lazy val buildSettings = Seq(
organization := "com.typesafe.akka",
version := "2.4-SNAPSHOT",
scalaVersion := Dependencies.Versions.scalaVersion,
crossScalaVersions := Dependencies.Versions.crossScala
)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With