Skip to content

Commit

Permalink
Merge pull request #23 from StefMa/document_snapshot_version
Browse files Browse the repository at this point in the history
Add SNAPSHOT version
  • Loading branch information
StefMa authored Oct 17, 2018
2 parents 8355d48 + 1b117b4 commit a7a31dd
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,31 @@ buildscript {
}
```

<details>
<summary><b>For the `master-SNAPSHOT` version click here</b></summary>

```groovy
buildscript {
repositories {
jcenter()
google()
maven { url "https://jitpack.io" }
}
dependencies {
classpath "com.github.stefma:bintray-release:master-SNAPSHOT"
}
}
```

Please note that this may be fail for the first attempts because [JitPack](https://jitpack.io)
build the plugin on the fly.
Please just try it again after some minutes until JitPack have build the plugin.

It can also happen that your current `master-SNAPSHOT` is locally outdated.
If so just run `./gradlew --refresh-dependencies`.
This will force Gradle to update all dependencies **and plugins**.
</details>

### Configure the extensions
Because the plugin depends heavily on the **AndroidArtifacts** plugin we have to setup **two** extensions.
The `androidArtifact` (resp. `javaArtifact`) and the `publish` extension which needs to be configured
Expand Down

0 comments on commit a7a31dd

Please sign in to comment.