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

How to build the testapp? #788

Closed dbtri68 closed 4 years ago

dbtri68 commented 4 years ago

I'm trying to debug a problem where my release build is not signing my release build fails to upload with the following error

"Error from apksigner: ERROR: JAR_SIG_NO_SIGNATURES: No JAR signatures"

In an attempt to resolve this I wanted to build your testapp but when I open the testapp in Studio I receive the following error


> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find com.github.triplet.gradle:play-publisher:2.8.0-SNAPSHOT.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/github/triplet/gradle/play-publisher/2.8.0-SNAPSHOT/maven-metadata.xml
       - https://dl.google.com/dl/android/maven2/com/github/triplet/gradle/play-publisher/2.8.0-SNAPSHOT/play-publisher-2.8.0-SNAPSHOT.pom
       - https://jcenter.bintray.com/com/github/triplet/gradle/play-publisher/2.8.0-SNAPSHOT/maven-metadata.xml
       - https://jcenter.bintray.com/com/github/triplet/gradle/play-publisher/2.8.0-SNAPSHOT/play-publisher-2.8.0-SNAPSHOT.pom
       - file:/Users/david.brown/.m2/repository/com/github/triplet/gradle/play-publisher/2.8.0-SNAPSHOT/maven-metadata.xml
       - file:/Users/david.brown/.m2/repository/com/github/triplet/gradle/play-publisher/2.8.0-SNAPSHOT/play-publisher-2.8.0-SNAPSHOT.pom
     Required by:
         project : 

I am trying to learn Gradle so my question is how do I build the testapp using gradle?  
SUPERCILEX commented 4 years ago

See https://github.com/Triple-T/gradle-play-publisher/blob/05ecea8ca8f2a36dd4270db82ca830188b5e1900/CONTRIBUTING.md#building-the-plugin. You'll have to run ./gradlew publishToMavenLocal first to bootstrap the plugin.