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

Ignore .DS_Store Files in Listings Directory #701

Closed ccjernigan closed 5 years ago

ccjernigan commented 5 years ago

Describe the bug

If I open the listings directory in the Finder, it'll create an invisible .DS_Store file which then seems to cause publishing to fail. Since this is an OS file, it should probably just be whitelisted as allowed.

How To Reproduce

Add a .DS_Store file to the listings directory

Versions

Tasks executed

./gradlew :app:publishApk

Expected behavior

The build and upload to the Play Store should succeed.

Additional context (if a crash, provide stack trace)

Execution failed for task ':app:generateReleasePlayResources'.

A failure occurred while executing com.github.triplet.gradle.play.tasks.GenerateResources$Processor Files are not allowed under the listings directory: .DS_Store

Workaround Navigate to the listings directory with Terminal and rm the .DS_Store file