Description
Change ./travis-publish.sh to a gradle script.
Advantages of having it as gradle (Thanks to @andrii-kovalenko-ct):-
- having it is in gradle makes it platform independent, when bash scripts are platform dependent
bash language is less readable than groovy
- less code because standard plugins incapsulate some logic
- common plugins are pretty known by other developers, when custom script require time to investigate/understand how they work (that was the first thing i noticed: i need to read bash script, instead of some standard configuration, like in ant replace plugin)
- common plugins are used/tested by hundreds of other users - bugs/vulnerabilities are discovered better/faster
- we could try to create our own travis publish gradle plugin.
Description
Change
./travis-publish.shto a gradle script.Advantages of having it as gradle (Thanks to @andrii-kovalenko-ct):-
bash language is less readable than groovy