Must not be `compile->test` as this pulls in test dependencies of the other project. Also improves on `withTestSettingsDependsOn` and removes junit dependency from stanfordnlp-core. Issue: #1856