Triple-T / gradle-play-publisher

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

Publish bundle with AGP 3.6.0-alpha11 fails with java.lang.NoSuchFieldError: BUNDLE #695

Closed knordbo closed 5 years ago

knordbo commented 5 years ago

Describe the bug

Publishing has stopped working as this lookup for bundle file fails: https://github.com/Triple-T/gradle-play-publisher/blob/master/plugin/src/main/kotlin/com/github/triplet/gradle/play/tasks/internal/Agp.kt#L30

How To Reproduce

Run publishBundle

Versions

Tasks executed

publishBundle

Expected behavior

Published bundle

Additional context (if a crash, provide stack trace)

java.lang.NoSuchFieldError: BUNDLE
        at com.github.triplet.gradle.play.tasks.internal.AgpKt.findBundleFile(Agp.kt:30)
        at com.github.triplet.gradle.play.tasks.PublishBundle.getBundle(PublishBundle.kt:35)
        at org.gradle.api.internal.tasks.properties.bean.AbstractNestedRuntimeBeanNode$BeanPropertyValue$1$1.create(AbstractNestedRuntimeBeanNode.java:80)
        at org.gradle.util.SingleMessageLogger.whileDisabled(SingleMessageLogger.java:467)
SUPERCILEX commented 5 years ago

Deep, agonized sigh. Will try to fix tonight.