From 10b847a100637907cdf01db0797c56be46fa50af Mon Sep 17 00:00:00 2001 From: Dimitry Ivanov Date: Fri, 25 May 2018 12:31:46 +0300 Subject: [PATCH] Add SNAPSHOT publishing --- README.md | 23 +++++++++++++++++++++++ gradle.properties | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 769571df..97a0739a 100644 --- a/README.md +++ b/README.md @@ -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 (`**`, `__`) diff --git a/gradle.properties b/gradle.properties index b998b4c3..7be91170 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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