Status Update
Comments
kf...@gmail.com <kf...@gmail.com> #2
This mentioned interface was removed only starting 7.2
, so you shouldn't have problems with using firebase with AGP 7.1
. Are you sure you don't have a dependency somewhere (maybe buildSrc?) on AGP or just gradle-api
7.2?
lo...@gmail.com <lo...@gmail.com> #3
I checked the project and there is no reference to AGP 7.2
I looked in ~/.gradle/caches/modules-2/files-2.1/com.android.tools.build/gradle-api and ~/.gradle/caches/modules-2/files-2.1/com.android.tools.build/gradle
Only 7.1.0-beta04 and 7.1.0-beta05 is there.
I checked with a new project. This problem only occurs when I enable the com.google.gms.google-services
and com.google.firebase.firebase-perf plugin.
Without these plugins everything works fine.
I looked in ~/.gradle/caches/modules-2/files-2.1/com.android.tools.build/gradle-api and ~/.gradle/caches/modules-2/files-2.1/com.android.tools.build/gradle
Only 7.1.0-beta04 and 7.1.0-beta05 is there.
I checked with a new project. This problem only occurs when I enable the com.google.gms.google-services
and com.google.firebase.firebase-perf plugin.
Without these plugins everything works fine.
lo...@gmail.com <lo...@gmail.com> #4
This is a known issue, we are working with those teams so they release a compatible plugin.
kf...@gmail.com <kf...@gmail.com> #5
Thanks!
Description
However, both the generated Javadoc JAR and sources JAR have the same name: "out.jar"
As a consequence, the Signing Plugin only signs one "out.jar" but not both.
Then, releasing a library on Maven Central fails due to missing signature.
The expected behavior would be that the generated Javadoc JAR and sources JAR have different names: "javadoc.jar" and "sources.jar"
As a consequence, the Signing Plugin would sign both "javadoc.jar" and "sources.jar".
Then, releasing a library on Maven Central would succeed.
After checking out the source code of the Android Gradle plugin on the "studio-2021.1.1" branch, I would like to submit this patch:
- replace "out.jar" with "sources.jar" in "tools/base/build-system/gradle-core/src/main/java/com/android/build/gradle/tasks/SourceJarTask.kt"
- replace "out.jar" with "javadoc.jar" in "tools/base/build-system/gradle-core/src/main/java/com/android/build/gradle/tasks/JavaDocJarTask.kt"
Disclaimer:
This issue should be created in "Android Public Tracker > App Development > Android Studio > Gradle > Android Gradle Plugin" but I "do not have permission to create issues in this component".