You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
override val projectSettings = Defaults.coreDefaultSettings
Then in sbt:
> somename-2_11/name
[info] somename-2_11
This seems to be due to this in the default settings:
defprojectCore:Seq[Setting[_]] =Seq(
name := thisProject.value.id,
logManager :=LogManager.defaults(extraLoggers.value, StandardMain.console),
onLoadMessage := (onLoadMessage or
Def.setting {
s"Set current project to ${name.value} (in build ${thisProjectRef.value.build})"
}).value
)
If you have publish settings, this might also fail at compile time because it tried to download https://packages.confluent.io/maven/com/etsy/somename_2_11_2.12/0.0.1-SNAPSHOT/somename_2_11_2.12-0.0.1-SNAPSHOT.pom
and https://packages.confluent.io/maven/com/etsy/somename_2_11_2.12/0.0.1-SNAPSHOT/somename_2_12_2.11-0.0.1-SNAPSHOT.pom
where I expect this to be somename_2.12-0.0.1-SNAPSHOT.pom and somename_2.11-0.0.1-SNAPSHOT.pom
Note I had a different result than #4
Let's say I have the following:
AND if you have set
Then in sbt:
> somename-2_11/name [info] somename-2_11
This seems to be due to this in the default settings:
If you have publish settings, this might also fail at compile time because it tried to download
https://packages.confluent.io/maven/com/etsy/somename_2_11_2.12/0.0.1-SNAPSHOT/somename_2_11_2.12-0.0.1-SNAPSHOT.pom
and
https://packages.confluent.io/maven/com/etsy/somename_2_11_2.12/0.0.1-SNAPSHOT/somename_2_12_2.11-0.0.1-SNAPSHOT.pom
where I expect this to be
somename_2.12-0.0.1-SNAPSHOT.pom
andsomename_2.11-0.0.1-SNAPSHOT.pom
This is my publish settings:
I'm using
sbt.version = 1.3.8
So I think sbt-cross should always overwrite that project name settings to avoid surprises.
The text was updated successfully, but these errors were encountered: