Fixed
Status Update
Comments
pa...@google.com <pa...@google.com>
je...@google.com <je...@google.com>
al...@google.com <al...@google.com>
al...@google.com <al...@google.com> #2
There are basically two issues:
- Naming of published aar artifact after transformation (lack of extension)
- Naming of updated artifact. 'out' must be renamed to something more specific
First fix is more important and it was done sometime ago as part of another ticket:
Second fix is done recently:
Description
DESCRIBE THE ISSUE IN DETAIL: The method
wiredWithFiles
for transforming artifactSingleArtifact.AAR
sets a wrong value passed as the second argument.STEPS TO REPRODUCE:
.../module/build.gradle.kts
bybuild.gradle.kts
fromgradle clean publishReleasePublicationToMavenLocal
The output includes something like the following:
I would expect
updatedArtifact
set to.../build/intermediates/aar/release/releaseUpdateArtifact/module-realease.aar
or.../build/intermediates/aar/release/releaseUpdateArtifact/out/module-realease.aar
or.../build/intermediates/aar/release/releaseUpdateArtifact/out.aar
or something like that ending with '.aar'.In your Maven local repository you can find the folder
com/my-company/my-library/1.0
including the following files:my-library-1.0
my-library-1.0.module
my-library-1.0.pom
The file
my-library-1.0
is copied from the file.../build/intermediates/aar/release/releaseUpdateArtifact/out
but its name should bemy-library-1.0.aar
.Studio Build: #AI-212.5712.43.2112.8512546 Version of Gradle Plugin: 7.2.0 Version of Gradle: 7.3.3 Version of Java: 11.0.12+0-b1504.28-7817840 x86_64 OS: macOS 12.3.1