File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import Keys._
3
3
4
4
/* With <3 from scala-js */
5
5
object NoBloopExport {
6
- private lazy val bloopGenerateKey : Option [TaskKey [Option [File ]]] = {
6
+ private lazy val bloopGenerateKey : Option [TaskKey [Result [ Option [File ] ]]] = {
7
7
val optBloopKeysClass : Option [Class [_]] = try {
8
8
Some (Class .forName(" bloop.integrations.sbt.BloopKeys" ))
9
9
} catch {
@@ -12,7 +12,7 @@ object NoBloopExport {
12
12
13
13
optBloopKeysClass.map { bloopKeysClass =>
14
14
val bloopGenerateGetter = bloopKeysClass.getMethod(" bloopGenerate" )
15
- bloopGenerateGetter.invoke(null ).asInstanceOf [TaskKey [Option [File ]]]
15
+ bloopGenerateGetter.invoke(null ).asInstanceOf [TaskKey [Result [ Option [File ] ]]]
16
16
}
17
17
}
18
18
@@ -23,8 +23,8 @@ object NoBloopExport {
23
23
Nil
24
24
case Some (key) =>
25
25
Seq (
26
- Compile / key := None ,
27
- Test / key := None ,
26
+ Compile / key := Value ( None ) ,
27
+ Test / key := Value ( None ) ,
28
28
)
29
29
}
30
30
}
You can’t perform that action at this time.
0 commit comments