Closed dodie closed 5 years ago
Possible solution : https://discuss.gradle.org/t/module-dependencies-for-a-specific-task/10589/2 Another approach: https://stackoverflow.com/questions/24899385/gradle-how-to-add-a-custom-task-after-compilation-but-before-packaging-files-in
Also, if possible try to make the code robust to tolerate such cases.
When instrumenting a class programmatically (see section "Transform the classes after compilation" in Manual setup) that refers to type that is not on the build-time class path, the following exception occurs: