You might encounter the following error:
only buildscript {} and other plugins {} script blocks are allowed before plugins {} blocks, no other statements are allowed
Just do the instruction in the error message.
In order words, move `plugin {}` script block on top of the script
except `buildscript {}` and other `plugins {}` script blocks.
It isn't a silver bullet... Do you consider more complex situations where we have a repositories inside a buildscript?
ReplyDeleteThanks
ReplyDelete