Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
[ID: 558956]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
So far we have worked around this issue by adding sources to the Java compile task also when the following DSL calls are made to register custom sources:
- BaseVariantData.registerJavaGeneratingTask(...)
- BaseVariantData.registerExternalAptJavaOutput(...)
The current approach has several issues:
- It forces the Java compile task to be created and configured.
- The custom sources are not added to the new ProcessAnnotationsTask. (
- Sources may be added twice (which may slightly decrease performance).
To solve all of the issues above, we probably need to collect sources to compile at execution time instead.