^^ sbt-crossbuilding does not set scalaVersion correctly
See original GitHub issuesteps
- create an sbt plugin:
sbt new sbt/sbt-autoplugin.g8
- set
sbt.version=0.13.16-M1
- try to cross-compile:
^^ 1.0.0-M5 compile
problem
the scripted plugin isn’t resolved for 1.0 because the scalaVersion is incorrect:
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.scala-sbt#scripted-sbt_2.10;1.0.0-M5: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
expectation
The scalaVersion is set to a version compatible with the sbt version targeted
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
sbt Reference Manual — Cross-building
Cross-building. Introduction. Different versions of Scala can be binary incompatible, despite maintaining source compatibility. This page describes how to ...
Read more >cross-build artifacts being built but not with `releaseCrossBuild
I'm trying to release a version of https://github.com/guardian/marley cross-built for Scala v2.11 & v2.12. All code dependencies are satisfied, ...
Read more >How to set up Bazel build tool for your Scala project
That's why, in this tutorial, I will be showing you what Bazel build is and how to set your project up in Scala....
Read more >Manual cross building requires changing scalaVersion and ...
I have a project that I am able to run "+ compile" normally, but doing. `set scalaVersion := "2.8.1"` confuses what I'm building....
Read more >sbt-release - Scaladex
If no crossScalaVersions are set, then running release or release cross will not trigger a cross release (i.e. run the release with the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ll give it some thought.
Fixed in https://github.com/sbt/sbt/pull/3362.