You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This could totally be a personal preference thing, but I use Gradle task name abbreviation alot, e.g.,
app:iD for app:installDebug, or
app:aD for app:assembleDebug
When applying this plugin, I get the following error when running app:aD:
Task 'aD' is ambiguous in project ':app'. Candidates are: 'adviceDebug', 'assembleDebug'.
Would it be possible to rename the task to something like generate${VARIANT}Advice to eliminate the conflict with the task provided by the Android Gradle Plugin?
The text was updated successfully, but these errors were encountered:
I can do this. I think it actually makes a lot of sense to generally avoid stepping on other very common tasks, such as assemble.... Is this the only one causing you trouble?
FWIW, I prefer generateAdvice$variant, because that's the format I use in all my other tasks. Does that work for you?
Cool, thanks for confirming. I fixed this in the associated PR. You can already use it with a snapshot, but you can also wait for the next release (0.78.0), which is probably today.
This could totally be a personal preference thing, but I use Gradle task name abbreviation alot, e.g.,
app:iD for app:installDebug, or
app:aD for app:assembleDebug
When applying this plugin, I get the following error when running
app:aD
:Would it be possible to rename the task to something like
generate${VARIANT}Advice
to eliminate the conflict with the task provided by the Android Gradle Plugin?The text was updated successfully, but these errors were encountered: