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
sbt:bug-reports> inspect Compile/run/runner
[info] Task: sbt.ScalaRun
[info] Description:
[info] Implementation used to run a main class.
[info] Provided by:
[info] ProjectRef(uri("file:/Users/jason/source/bug-reports/"), "bug-reports") / Compile / run / runner
[info] Defined at:
[info] Defaults.scala:2566
[info] (kamon.instrumentation.sbt.SbtKanelaRunner.projectSettings) SbtKanelaRunner.scala:48
But adding integration test settings breaks it:
scalaVersion := "2.13.5"
run / fork := true
configs(IntegrationTest)
Defaults.itSettings
sbt:bug-reports> inspect Compile/run/runner
[info] Task: sbt.ScalaRun
[info] Description:
[info] Implementation used to run a main class.
[info] Provided by:
[info] ProjectRef(uri("file:/Users/jason/source/bug-reports/"), "bug-reports") / Compile / run / runner
[info] Defined at:
[info] /Users/jason/source/bug-reports/build.sbt:5
I haven't tracked down the cause of this yet but it is a bit strange. Defaults.itSettings are scoped to IntegrationTest so I don't see how that is messing with tasks in the Compile configuration.
One thing that I did notice is that SbtKanelaRunner overrides projectConfigurations. Should it be adding the configuration to super.projectConfigurations instead?
The text was updated successfully, but these errors were encountered:
Reproduction: https://github.com/steinybot/bug-reports/tree/kamon/sbt-runner
This works fine:
But adding integration test settings breaks it:
I haven't tracked down the cause of this yet but it is a bit strange.
Defaults.itSettings
are scoped toIntegrationTest
so I don't see how that is messing with tasks in theCompile
configuration.One thing that I did notice is that
SbtKanelaRunner
overridesprojectConfigurations
. Should it be adding the configuration tosuper.projectConfigurations
instead?The text was updated successfully, but these errors were encountered: