we put the source and dependencies in build.gradle files in each package (following a previous convention for source code) “gradle clean test” works fine but if i do “gradle test” again it fails saying it cannot find the external library dependency i can workaround this failure by adding testRuntime at the root build.gradle file but this should not be a requirement
i think this failure occurs because the test compile is up-to-date such that the dependencies are not added from the package build.gradle prior to running the test this should not be the case, they should be added as documentation states:
testRuntime
The dependencies required to run the tests. By default, also includes the compile, runtime and test compile dependencies.