Skip to content

Commit 9ab1645

Browse files
committed
DSP-11503 add old shapeless shading since graph brings in new version
which causes class incompatibility issues
1 parent cf660d4 commit 9ab1645

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

project/Assembly.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ object Assembly {
1919
case m if m.toLowerCase.matches("meta-inf.*\\.sf$") => MergeStrategy.discard
2020
case "reference.conf" => MergeStrategy.concat
2121
case _ => MergeStrategy.first
22-
}//,
22+
},
2323
// NOTE(velvia): Some users have reported NoClassDefFound errors due to this shading.
2424
// java.lang.NoClassDefFoundError: sjs/shapeless/Poly2$Case2Builder$$anon$3
2525
// This is disabled for now, if you really need it, re-enable it and good luck!
26-
// assemblyShadeRules in assembly := Seq(
27-
// ShadeRule.rename("shapeless.**" -> "sjs.shapeless.@1").inAll
28-
// )
26+
assemblyShadeRules in assembly := Seq(
27+
ShadeRule.rename("shapeless.**" -> "sjs.shapeless.@1").inAll
28+
)
2929
)
3030
}

0 commit comments

Comments
 (0)