GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.
MIT License
4.13k
stars
341
forks
source link
AGP 3.6.0-alpha05 not working: java.lang.NoClassDefFoundError: com/android/build/api/artifact/BuildableArtifact #631
Publish bundle seems to be broken in AGP 3.6.0-alpha05 since the reflective usage of BuildableArtifact no longer works.
How To Reproduce
./gradlew publishBundle
Versions
Gradle Play Publisher: 2.3.0
Gradle Wrapper: 5.5.1
Android Gradle Plugin: 3.6.0-alpha05
Tasks executed
publishBundle
Expected behavior
Publishing the bundle successfully
Additional context (if a crash, provide stack trace)
java.lang.NoClassDefFoundError: com/android/build/api/artifact/BuildableArtifact
at com.github.triplet.gradle.play.tasks.internal.AgpKt$findBundleFile$1.invoke(Agp.kt:22)
at com.github.triplet.gradle.play.tasks.internal.AgpKt.findBundleFile(Agp.kt:27)
at com.github.triplet.gradle.play.tasks.PublishBundle.getBundle(PublishBundle.kt:38)
Describe the bug
Publish bundle seems to be broken in AGP 3.6.0-alpha05 since the reflective usage of
BuildableArtifact
no longer works.How To Reproduce
./gradlew publishBundle
Versions
Tasks executed
publishBundle
Expected behavior
Publishing the bundle successfully
Additional context (if a crash, provide stack trace)