Skip to content

massivedisaster/bintray-deploy-automator

Repository files navigation

Bintray deploy automator

This tool to publish artifacts to Bintray for gradle projects with multiple modules that use Gradle Bintray Plugin or Novoda Bintray Release.

How it works

Bintray deploy automator clean and build your project's modules and then for each module will run bintrayUpload task. At the end if no errors occurred it will run the extra tasks.

How to run

  1. Create a configuration file named configuration.json like the one below.
{
  "basePath": "./project", // The path of your project
  "version": "0.1.0", // The new version of project to be uploaded
  // The list of modules to be uploaded to the bintray
  "modules": [
    "module-2",
    "module-3"
  ],
  // Extra tasks
  "extraTasks": [
      "task-1",
      "module-1:task-2"
  ]
}
  1. Download the latest release.
  2. Execute java -jar BintrayDeployAutomator-0.1.0.jar -u Username -k Key

Generate release JAR

Run jar task from gradle.

  • Linux/macOS: ./gradlew jar
  • Windows: gradlew.bat jar

License

MIT LICENSE