Skip to content

Commit 0dffa81

Browse files
committed
Disable differentiable.Float on Scala 2.11 due to scala/bug#10334
1 parent d6c62af commit 0dffa81

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

differentiable-Float/build.sbt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,19 @@ addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.9.3")
1919
libraryDependencies += "com.thoughtworks.feature" %% "constructor" % "2.0.0-RC4"
2020

2121
libraryDependencies += "com.thoughtworks.feature" %% "new" % "2.0.0-RC4"
22+
23+
publishArtifact := {
24+
if (VersionNumber(scalaVersion.value).numbers >= Seq(2, 12)) {
25+
false
26+
} else {
27+
true
28+
}
29+
}
30+
31+
skip in compile := {
32+
if (VersionNumber(scalaVersion.value).numbers >= Seq(2, 12)) {
33+
true
34+
} else {
35+
false
36+
}
37+
}

0 commit comments

Comments
 (0)