New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task 'runAffectedUnitTests' not found in root project #23
Comments
hi @nhaarman apologies I never did a release due to wanting to move config block to be module specific. It should exist in the snapshot. I'm working on the improved config block right now and will have a full release today |
Ahh that explains! No worries! |
0.1.1-SNAPSHOT was just pushed, 0.1.2 will be out sometime tomorrow |
@digitalbuddha did you end up publishing it? I couldn't find it. |
|
There should be a log file created. Could you verify that all modules were not affected during your execution? I have a free day tomorrow and will validate myself on the sample. |
I started a new project and added one library module. Applying the plugin and running the command results in only this in the logs 🤔 :
|
I think my last change was racy, we've seen this before where the modules tasks did not exist before we ran our plugin task creation. Thanks for reporting I'll replicate and fix in am. |
need 1 more fix to land, I verified in the sample #27 both a non working behavior and now a working one. The issue was around short circuiting custom logic we had internally. I expect a review by end of week and will release new snapshot then. Thank you for bearing with us in the early days :-D |
No problem! If you need anything else let me know! |
new snapshot is up, will verify internally then do a real release |
When I cloned the repository and published the snapshot locally, the plugin seemed to work on my real-life project! |
Plugin publishing seems to escape my skill set. I'll keep at it! Thanks for feedback |
I forgot to chmod the release script, running now #29 |
@digitalbuddha Will there be a release for these fixes? |
Whenever I apply the plugin to a project and run the
./gradlew runAffectedUnitTests -Paffected_module_detector.enable
command, I get the following error:Running
./gradle tasks
or./gradlew tasks -Paffected_module_detector.enable
results in no tasks added by this plugin either.I have tried with multiple Android/Java only projects which all have different configurations, but all come up with the same results. I even copy pasted this entire block into the root build.gradle (thus having two
buildscript
blocks) to no success.The text was updated successfully, but these errors were encountered: