From afdb6f451821cfe6313ec3425bd67aa202ca384d Mon Sep 17 00:00:00 2001 From: "jixing.ma" Date: Sun, 19 Jan 2020 14:38:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9readme=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E6=96=87=E6=A1=A3=EF=BC=8C=E5=8F=8A=E5=85=B6gradle=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=BC=95=E5=85=A5=E6=96=B9=E6=B3=95=E5=8F=8A=E6=89=93?= =?UTF-8?q?=E5=8C=85=E7=9B=B8=E5=85=B3=E4=BF=A1=E6=81=AF.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jixing.ma --- README.md | 26 ++++++++++++++++++-------- pom.xml | 2 +- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 2789fca..0c17efd 100644 --- a/README.md +++ b/README.md @@ -26,26 +26,36 @@ Add this dependency to your project's POM: ```xml - + jitpack.io https://jitpack.io - - + + com.gitee.openkylin java-gitee master-SNAPSHOT - + ``` ### Gradle users -Add this dependency to your project's build file: +Step 1. Add it in your root build.gradle at the end of repositories: ```groovy -compile "com.gitee.openkylin:gitee-java-sdk:1.0.0" +allprojects { + repositories { + ... + maven { url 'https://jitpack.io' } + } + } +``` +Step 2. Add the dependency +```groovy +dependencies { + implementation 'com.gitee.openkylin:java-gitee:master-SNAPSHOT' + } ``` - ### Others At first generate the JAR by executing: @@ -54,7 +64,7 @@ At first generate the JAR by executing: Then manually install the following JARs: -* target/gitee-java-sdk-1.0.0.jar +* target/gitee-java-sdk-master-SNAPSHOT.jar * target/lib/*.jar ## Getting Started diff --git a/pom.xml b/pom.xml index 9c7d435..a77b6b6 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ gitee-java-sdk jar gitee-java-sdk - 1.0.0 + master-SNAPSHOT https://github.com/swagger-api/swagger-codegen Swagger Java -- Gitee