Skip to content

Change ./travis-publish.sh to a gradle script.  #229

@heshamMassoud

Description

@heshamMassoud

Description

Change ./travis-publish.sh to a gradle script.

Advantages of having it as gradle (Thanks to @andrii-kovalenko-ct):-

  1. having it is in gradle makes it platform independent, when bash scripts are platform dependent
    bash language is less readable than groovy
  2. less code because standard plugins incapsulate some logic
  3. 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)
  4. common plugins are used/tested by hundreds of other users - bugs/vulnerabilities are discovered better/faster
  5. we could try to create our own travis publish gradle plugin.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions