Status Update
Comments
ga...@google.com <ga...@google.com> #2
We are most likely not making it for 8.0, moving to 8.1.
hu...@google.com <hu...@google.com> #3
To clarify on the blocking releases:
- In AGP 8.0, we need to inform users that we will be removing the flag in AGP 8.2. => This part is blocking AGP-8.0 RC. It's done with Change-Id: I1f7786dc817ff48c58ce8164a0dfe7c0691b6599.
- In AGP 8.1, we need to inform users that we will be removing the flag in AGP 8.2. => This part is blocking AGP 8.1 Beta. It's done with
https://android.googlesource.com/platform/tools/base/+/e76bb3634f836f7cb5d7d145e722e5709ae44f5a . - In AGP 8.2, we'll aim to remove the flag. => This part is blocking AGP 8.2 Beta. It is not done yet.
Because tasks 1 and 2 are done, only task 3 remains, I think this bug should be set to blocking AGP 8.2 Beta only.
(However, because AGP 8.2 Beta is not yet created, we'll need to set it later once it's created.)
to...@gmail.com <to...@gmail.com> #4
Because the desugar has a problem with compileOnly and, in my understanding, enableDexingArtifactTransform=false is the only solution.
hu...@google.com <hu...@google.com> #5
Yes, we'll need to fix
cm...@google.com <cm...@google.com>
hu...@google.com <hu...@google.com> #6
We have enforced 2 / 3 flags relating to artifact transform dexing in AGP 8.2. Next, we'll work on the remaining one:
hu...@google.com <hu...@google.com> #7
We have enforced the remaining flag android.enableDexingArtifactTransform
in AGP 8.3.0-alpha06:
If you need to set android.enableDexingArtifactTransform=false
due to correctness issues with this feature, please try setting android.useFullClasspathForDexingTransform = true
instead
(see
an...@google.com <an...@google.com> #8
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 Iguana | 2023.2.1 Canary 6
- Android Gradle Plugin 8.3.0-alpha06
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
The feature has been enabled by default for a few years now, but users can still disable it. Our plan is:
We'll probably do the same for
android.enableDexingArtifactTransform.desugaring
andandroid.enableDexingArtifactTransformForExternalLibs
.However, we'll need to watch out for the following cases where people might still run into issues with the default behavior and want to disable the feature (our metrics show that 0.81% of users use the flag in the last week, but our metrics don't show if they set it to
true
orfalse
):flatDir
repo (exclude
(compileOnly
dependencies (