which causes sbt-assembly to fail because play-ws and play-ws-standalone both define the aformentioned classes, with different contents in at least one case for the versions mentioned.
Play WS Version (2.5.x / etc)
2.6.3 / 1.0.4 (standalone)
Expected Behavior
Expected to be able to package my code using play-ws using sbt-assembly.
Actual Behavior
[error] 2 errors were encountered during merge
java.lang.RuntimeException: deduplicate: different file contents found in the following:
/root/.ivy2/cache/com.typesafe.play/play-ws_2.12/jars/play-ws_2.12-2.6.3.jar:play/api/libs/ws/package$.class
/root/.ivy2/cache/com.typesafe.play/play-ws-standalone_2.12/jars/play-ws-standalone_2.12-1.0.4.jar:play/api/libs/ws/package$.class
deduplicate: different file contents found in the following:
/root/.ivy2/cache/com.typesafe.play/play-ws_2.12/jars/play-ws_2.12-2.6.3.jar:play/api/libs/ws/package.class
/root/.ivy2/cache/com.typesafe.play/play-ws-standalone_2.12/jars/play-ws-standalone_2.12-1.0.4.jar:play/api/libs/ws/package.class
Are you looking for help?
A project depending on "com.typesafe.play" %% "play-ws" % "2.6.3" brings in transitively
which causes sbt-assembly to fail because play-ws and play-ws-standalone both define the aformentioned classes, with different contents in at least one case for the versions mentioned.
Play WS Version (2.5.x / etc)
2.6.3 / 1.0.4 (standalone)
Expected Behavior
Expected to be able to package my code using play-ws using sbt-assembly.
Actual Behavior