BreadMoirai / github-release-gradle-plugin

A Gradle Plugin to send Releases to Github
Apache License 2.0
108 stars 26 forks source link

Calling `setReleaseAssets ` function on the `GithubReleaseTask` causes build to fail. #50

Open abhishekdewan101 opened 2 years ago

abhishekdewan101 commented 2 years ago

In our app we are trying to set the release assets using the setReleaseAssets function call on the GithubReleaseTask prior to running the task. We do this using the following way:

image

where GH_RELEASE_TASK_NAME = "githubRelease"

When this code runs we are seeing the task fail with the following error

image

Are we not suppose to use this api in this way? Is there a way to set the release asset not during the configuration phase ?