Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document bintray helper script and update readme
- Loading branch information
1 parent
69071b3
commit 4ceb640
Showing
3 changed files
with
37 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
Bintray | ||
======= | ||
|
||
This script setup the project/module for publishing in [Bintray]. | ||
|
||
It publishes all artifacts attached to the `mavenJava` publication (check [kotlin.gradle] publishing | ||
section) at the bare minimum binaries are published. For an Open Source project, you must include | ||
sources and javadocs also. | ||
|
||
To use it you should add `apply from: $gradleScripts/bintray.gradle` to your `build.gradle` script | ||
and `id 'com.jfrog.bintray' version 'VERSION'` to your `plugins` section in the root `build.gradle`. | ||
|
||
This helper settings are: | ||
|
||
* bintrayKey : if not defined will try to load BINTRAY_KEY environment variable. | ||
* bintrayUser : or BINTRAY_USER environment variable if not defined. | ||
* bintrayRepo : | ||
* license : | ||
* vcsUrl : | ||
|
||
To add variables to a build: | ||
|
||
1. In `gradle.properties` | ||
2. In `~/.gradle/gradle.properties` | ||
3. Command line `-Pkey=val` | ||
4. Inside `build.gradle`: `ext.key='val'` | ||
|
||
For more reference, check the usage in `.travis.yaml` and `hexagon_*/build.gradle` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters