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)
Use Markdown for this comment
Set severity, which reflects how much the issue affects the use of the product
Change issue status back to 'Assigned'
Pending code changes (auto-populated)
[ID: 84651]
Select items in the list
[ID: 558956]
[ID: 874707]
Set the version(s) of the product affected by this issue (comma-separated list)
Set the version(s) of the product in which the issue should be fixed (comma-separated list)
Set the version(s) of the product in which the issue fix was verified (comma-separated list)
Set if this issue occurs in production
[ID: 85206]
Set Reporter
Set Type
Set priority, which reflects how soon the issue should be fixed
Set Status
Set Assignee
Set Verifier
Remove item
View or edit staffing
View issue level access limits(Press Alt + Right arrow for more information)
Description
#1SourceDirectories.Flat#static
which was introduced in AGP 8.4, depends onGenerateBuildConfig
task which is unexpected and looks like a bug since the sources are supposed to be static unlikeSourceDirectories.Flat#all
which includes generated sources.A consequence of this is that static Variant source directories cannot be resolved during the configuration phase using the new Variant API when
BuildConfig
generation is enabled.Resolving
SourceDirectories.Flat#static
during the configuration phase results in the following error:AGP version: 8.4.0-alpha13https://github.com/technoir42/static-variant-sources-bug-repro
Relates to b/266681484
Repro project: