Not sure if it is actually a play publisher bug or a gradle issue. When using gradle 5.0-rc1 with the latest play publisher version the GenerateResources Task fails with an unknown file error on the app/src/main/play directory i.e. the root directory for all the publisher resoruces which is thrown in the File.validate extension function in GenerateResources.kt.
Looks to me like that directory shouldn't be passed to that function, so it might be a bug in gradle or an incompatibly with gradle 5. When changing gradle to 4.10.2 it works again.
Setup plugin with play store credentials
Create app/src/main/play or run gradlew bootstrap
Run any publish task, publishListing fails immediately, with any configuration with versions as below.
proper resource generation and an upload to playstore
Interesting. I personally haven't gotten Gradle 5 to even make it through the configuration phase on my own projects, so it's unlikely this will get fixed near term. Once the latest Android Gradle Plugin alpha starts requiring Gradle 5, I'll be sure to make things work.
Once the latest Android Gradle Plugin alpha starts requiring Gradle 5, I'll be sure to make things work.
It already does. I tried with AGP 3.4.0-alpha03 and that requires Gradle 5 Milestone 1 or newer.
Oh! Looks like I'm still on alpha 2. K, I'll get this going in a few days.
Oh lol, I broke my own repo. 🤦♂️ One of my patches made it through a few weeks ago and I guess it's live in Gradle 5 now. Anyway, it's a simple fix: https://github.com/Triple-T/gradle-play-publisher/pull/453.