https://github.com/francisdb/milltest
reproducer for https://github.com/lihaoyi/mill/issues/211
https://github.com/francisdb/milltest
Last synced: about 2 months ago
JSON representation
reproducer for https://github.com/lihaoyi/mill/issues/211
- Host: GitHub
- URL: https://github.com/francisdb/milltest
- Owner: francisdb
- Created: 2018-03-21T15:04:01.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-21T16:11:11.000Z (about 7 years ago)
- Last Synced: 2025-03-02T14:40:43.891Z (about 2 months ago)
- Language: Scala
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# milltest
reproducer for https://github.com/lihaoyi/mill/issues/211This shows that duplicate dependencies within a module are cleaned up (even transitive) but not when there are inter-module duplicates
```
➜ milltest git:(master) ✗ mill sameWithin.validateDeps
[11/11] sameWithin.validateDeps
OK➜ milltest git:(master) ✗ mill sameTransitive.validateDeps
[11/11] sameTransitive.validateDeps
OK➜ milltest git:(master) ✗ mill moduleTransitive.validateDeps
[39/39] moduleTransitive.validateDeps
1 targets failed
moduleTransitive.validateDeps java.lang.RuntimeException: Expected akka-actor_2.12-2.5.11.jar but found: Agg(akka-actor_2.12-2.5.10.jar, akka-actor_2.12-2.5.11.jar)
scala.sys.package$.error(package.scala:27)
ammonite.$file.build$BaseModule.$anonfun$validateDeps$2(build.sc:25)
ammonite.$file.build$BaseModule.$anonfun$validateDeps$2$adapted(build.sc:20)
mill.define.Task$Mapped.$anonfun$evaluate$5(Task.scala:354)```