We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1e8e2a + 3e2e648 commit 4232a10Copy full SHA for 4232a10
project/TestsPlugin.scala
@@ -135,11 +135,14 @@ object TestsPlugin extends AutoPlugin {
135
scalaVersion := testScalaVersion.value,
136
inConfig(V1)(funTestPerConfigSettings),
137
inConfig(V2)(funTestPerConfigSettings),
138
- inConfig(App)(funTestPerConfigSettings),
+ inConfig(App)(Def.settings(
139
+ funTestPerConfigSettings,
140
+ run / trapExit := false,
141
+ )),
142
inConfig(Test)(Def.settings(
143
internalDependencyClasspath ++= (V2 / exportedProducts).value,
144
internalDependencyClasspath ++= (App / exportedProducts).value,
- run / mainClass := Some("App"),
145
+ run / mainClass := (App / run / mainClass).value,
146
run / trapExit := false,
147
)),
148
Global / onLoad += oracleFileCheck.value,
0 commit comments