Status Update
Comments
pi...@gmail.com <pi...@gmail.com> #2
xa...@google.com <xa...@google.com> #3
for the "out" bundle issue, this seems indeed an issue. for the second one reported adding "debugUpdateAPKArtifact" to the path, this WAI as there can more more than one transformer and we need to automatically separate them so they do not use the same output folder. for #3, I will look at it but it might be difficult to change it at this time.
cm...@google.com <cm...@google.com> #4
cm...@google.com <cm...@google.com> #5
Hello, this is a P1 S1 issue for a while now, and it's blocking us from upgrading to AGP 4.2 and further. What's the current status? And do you have plans to backport it to 4.2.x?
am...@google.com <am...@google.com> #6
no we don't have a plan to backport this. why is this blocking you from upgrading ?
uc...@google.com <uc...@google.com>
ga...@google.com <ga...@google.com>
an...@google.com <an...@google.com>
an...@google.com <an...@google.com>
pi...@gmail.com <pi...@gmail.com> #7
We sign apk's and bundles via internal service, and i don't know another way to interact with artifacts;
Yesterday i ended up with some ugly workaround:
sa...@google.com <sa...@google.com> #8
I commented on the merge request but to summarize :
you can set your signing tasks output folder to wherever you need to be :
artifacts.use(target.tasks.signedApkTaskProvider(this)).configure { signedDirProperty.set(File("/path/to/where/you/want/your/signed/files")) }
if you don't set it, then we will set a directory automatically.
Description
DESCRIBE THE ISSUE IN DETAIL:
I maintain a Gradle plugin that, among other things, depends on:
On AGP 7.4.0-alpha08, my project builds without warnings or errors. When I update it to alpha09, I see the following build failure (due to enabling warnings-as-errors):
This enum comes from
sdk-commons
. I don't explicitly depend on this, and interestingly, none of my code seems to reference it, either. Adding a compileOnly dependency onsdk-commons
resolves the error; it appears to me as if AGP transitively depends onsdk-commons
, and between alpha08 and alpha09 something in that transitive chain changed from anapi
dependency to animplementation
dependency.STEPS TO REPRODUCE:
git clone https://github.com/keepsafe/dexcount-gradle-plugin
git checkout agp-7.4.0-alpha09
./gradlew compileJava
ATTACH SCREENSHOTS/RECORDINGS OF THE ISSUE
ATTACH LOG FILES (Select Help > Show Log in Files, or Show Log in Finder on a Mac)
IMPORTANT: Please readhttps://developer.android.com/studio/report-bugs.html carefully and supply
all required information.
Studio Build: N/A Version of Gradle Plugin: 7.4.0-alpha09 Version of Gradle: 7.5 Version of Java: 11.0.15 (Azul Systems, Inc. 11.0.15+10-LTS) OS: Mac OS X 12.4 aarch64