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

Impossible to publish the app #958

Closed manang closed 3 years ago

manang commented 3 years ago

Describe the bug

Hi, I'm trying to push my example app to the play store

How To Reproduce

./gradlew publishBundle

Versions

--- com.github.triplet.play:com.github.triplet.play.gradle.plugin:3.4.0-agp4.2 --- com.github.triplet.gradle:play-publisher:3.4.0-agp4.2 +--- com.github.triplet.gradle:android-publisher:3.4.0-agp4.2 | +--- com.github.triplet.gradle:common-utils:3.4.0-agp4.2 +--- com.github.triplet.gradle:common-utils:3.4.0-agp4.2 +--- com.github.triplet.gradle:common-validation:3.4.0-agp4.2 Gradle 6.7.1 --- com.android.tools.build:gradle:4.2.1

Tasks executed

publishBundle

Expected behavior

I expect the apk published on the play store

A clear and concise description of what you expected to happen. this is my output WARNING:: Please remove usages ofjcenter()` Maven repository from your build scripts and migrate your build to other Maven repositories. This repository is deprecated and it will be shut down in the future. See http://developer.android.com/r/tools/jcenter-end-of-service for more information. Currently detected usages in: root project 'My Application', project ':app'

Task :app:mergeReleaseJavaResource FAILED

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2s 34 actionable tasks: 2 executed, 32 up-to-date `

my play config is: ` plugins { id 'com.android.application' id 'com.github.triplet.play' version '3.4.0-agp4.2' } .. android{} .. play { track.set("alpha") serviceAccountCredentials.set(file("mykey.json"))

}` how can I solve this? thanks

manang commented 3 years ago

solved, I addedd classpath+plugin, only plugins section is correct