Status Update
Comments
ap...@google.com <ap...@google.com> #2
Gradle issue asking for it to be made easier to avoid making an unused modification to this list:
ze...@google.com <ze...@google.com> #3
I think the issue here is that jvmArgs is null, which causes addAll()
to not run.
IMO we should be adding to jvmArgs and not replacing it entirely, in case something else has previously set jvmArgs. WYT @Ivan?
I could change it to something like
forkOptions.jvmArgs?.addAll(executionOptions.get().jvmArgs) ?: forkOptions.jvmArgs(executionOptions.get().jvmArgs)
ap...@google.com <ap...@google.com> #4
Yeah, the nullness of jvmArgs
was the first possibility I checked too, although even with "!!" it still had no effect, see
I uploaded a change that I observed to fix it for me and added you as a reviewer
ap...@google.com <ap...@google.com> #5
Ah, ok, that makes sense.
ap...@google.com <ap...@google.com> #6
Thanks for the change, Jeff!
Should we cherry-pick it into 7.4? I think AGP 7.4 has that but the settings plugin is not officially supported yet.
ap...@google.com <ap...@google.com> #8
ze...@google.com <ze...@google.com>
sa...@google.com <sa...@google.com> #9
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Electric Eel RC 3 (2022.1.1.18)
- Android Gradle Plugin 7.4.0-rc03
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
Description
This issue was found as part of investigating b/261757444 which coincidentally used some missing types from javax.