Skip to content

Conversation

@Rolf-Smit
Copy link
Contributor

Apparently using variant.sources.java.all in AGP 7.2 causes BuildConfig files to disappear or not generate at all, this is very likely a bug in AGP 7.2 because it is working in AGP 7.3.0-beta01. For now this is a workaround that reintroduces code that utilizes old non-public AGP code, but at least this code is working.

Fixes #54

Apparently using `variant.sources.java.all` in AGP 7.2 causes BuildConfig files to disappear or not generate at all, this is very likely a bug in AGP 7.2 because it is working in AGP 7.3.0-beta01. For now this is a workaround that reintroduces code that utilises old non-public AGP code, but at least this code is working.

Fixes #54
@Rolf-Smit Rolf-Smit merged commit c58523f into master May 23, 2022
@Rolf-Smit Rolf-Smit deleted the fix-build-config-file-disappearing branch May 23, 2022 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unresolved reference BuildConfig when upgrading to 1.5.0

2 participants