I recently upgraded the build tooling in a plugin I maintain using the template as a guide. I noticed a couple of issues with the boilerplate provided.
In the build github workflow, there is some incorrect shell code that doesn't use quotations when accessing a variable
Using the latest versions of all the things I could, I had an issue with the channels assignment in the publishPlugin task due to the use of .first().
1 is pretty self explanatory but for 2, changing it to [0] fixes it but it is a less than ideal solution even though the default is set previously so it can likely no error.
Happy to drop this fix or change it to a recommendation. I think this is due to me using gradle 8.5 but I am not familiar enough with these tools to say for sure.
Overview
I recently upgraded the build tooling in a plugin I maintain using the template as a guide. I noticed a couple of issues with the boilerplate provided.
channels
assignment in thepublishPlugin
task due to the use of.first()
.1
is pretty self explanatory but for2
, changing it to[0]
fixes it but it is a less than ideal solution even though the default is set previously so it can likely no error.Happy to drop this fix or change it to a recommendation. I think this is due to me using gradle 8.5 but I am not familiar enough with these tools to say for sure.
Example error