You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to @lukaszkalnik we found out that the aar output file is renamed in a specific combination of the AGP and Gradle version.
They renamed the file from XY-buildType to XY-version.
I found out this happend with the AGP 3.3.1 and Gradle 5.1+.
Therefore this is not guaranteed anymore and break the build.
Anyway. Depending on a hardcoded output path is not recommended by Gradle anyway.
This code
will break.
Because the output is not named xy-release.aar anymore but xy-1.0.0.aar.
But I found out that the bundleReleaseAar has declared the output path:
Thanks to @lukaszkalnik we found out that the
aar
output file is renamed in a specific combination of the AGP and Gradle version.They renamed the file from
XY-buildType
toXY-version
.I found out this happend with the AGP 3.3.1 and Gradle 5.1+.
Therefore this is not guaranteed anymore and break the build.
Anyway. Depending on a hardcoded output path is not recommended by Gradle anyway.
This code
AndroidArtifacts/src/main/kotlin/guru/stefma/androidartifacts/MavenPublication.kt
Line 18 in ed04801
Because the output is not named
xy-release.aar
anymore butxy-1.0.0.aar
.But I found out that the
bundleReleaseAar
has declared the output path:That means we could add the
artifact
from this output instead of adding a hardcoded string...The text was updated successfully, but these errors were encountered: