Add SNAPSHOT publishing

This commit is contained in:
Dimitry Ivanov 2018-05-25 12:31:46 +03:00
parent 3a0b08eb07
commit 10b847a100
2 changed files with 24 additions and 1 deletions

View File

@ -17,6 +17,29 @@ compile 'ru.noties:markwon-image-loader:1.0.5' // optional
compile 'ru.noties:markwon-view:1.0.5' // optional
```
### Snapshot
![markwon-snapshot](https://img.shields.io/nexus/s/https/oss.sonatype.org/ru.noties/markwon.svg?label=markwon)
In order to use latest `SNAPSHOT` version add snapshot repository to your root project's `build.gradle` file:
```groovy
allprojects {
repositories {
jcenter()
google()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
}
}
```
and then in your module `build.gradle`:
```groovy
implementation 'ru.noties:markwon:1.0.6-SNAPSHOT'
```
Please note that `markwon-image-loader` and `markwon-view` are also present in `SNAPSHOT` repository and share the same version as main `markwon` artifact.
## Supported markdown features:
* Emphasis (`*`, `_`)
* Strong emphasis (`**`, `__`)

View File

@ -6,7 +6,7 @@ org.gradle.configureondemand=true
android.enableBuildCache=true
android.buildCacheDir=build/pre-dex-cache
VERSION_NAME=1.0.5
VERSION_NAME=1.0.6-SNAPSHOT
GROUP=ru.noties
POM_DESCRIPTION=Markwon