This tool to publish artifacts to Bintray for gradle projects with multiple modules that use Gradle Bintray Plugin or Novoda Bintray Release.
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.
- 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"
]
}
- Download the latest release.
- Execute
java -jar BintrayDeployAutomator-0.1.0.jar -u Username -k Key
Run jar
task from gradle.
- Linux/macOS:
./gradlew jar
- Windows:
gradlew.bat jar