Drop support for sbt 0.13, make the project build with modern IDE by majk-p · Pull Request #32 · sbt/sbt-javaagent
Solution
This PR resolves #30 by throwing error when libraryDependencies are overridden instead of silently proceeding.
Review guidelines
Since sbt tasks are not allowed to override setting values we can't recover from that otherwise. Those changes are done in 4462537 (#32)
To make that work I adjusted the build so that you can work on it with modern IDE. This required dropping support for sbt 0.13 that is long unsupported anyway as well as updating native-packager dependency to a recent one. The later has changed it's publish namespace from com.typesafe.sbt to com.github.sbt since 1.9.x
Followup changes
This PR doesn't rewrite the build.sbt in tests, which still use the old sbt syntax. I decided to keep them as they are to avoid even more bloated PR, IMO it's better to clean that up in a followup PR.