Closed dzwicker closed 2 years ago
It turns out this is only a bug on Gradle 6.9, so let's not forward-port the fix.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Fixed and released in 3.7.0-agp4.2
Describe the bug
I want to upload an existing APK. But gradle throws an excaption:
Which is thrown in this line
https://github.com/gradle/gradle/blob/ae3758aa7698196c03e7290116ea4b13388986c0/subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskContainer.java#L480
Seams that the task dependency
""
in case ofartifact-dir
was provided causes this error.https://github.com/Triple-T/gradle-play-publisher/blob/37699acdd960d0d9e8d16ace10dbe95a870da70a/play/plugin/src/main/kotlin/com/github/triplet/gradle/play/PlayPublisherPlugin.kt#L230
How To Reproduce
Run the command
./gradlew uploadLocalReleasePrivateApk --artifact-dir anyPath
Versions
Tasks executed
uploadLocalReleasePrivateApk
Additional context (if a crash, provide stack trace)