So the direct cause of the issue seems to be that ...
# gradle
m
So the direct cause of the issue seems to be that the configuration property of the upload task is not set. This is usually set by the UploadRule, which is triggered when an unknown task prefixed with “upload” is requested, given that you are creating the task yourself, rather than letting the rule do it, it probably explains why it doesnt work