From e6c6403d97bb86888d43725e7f3800f1059f0717 Mon Sep 17 00:00:00 2001 From: "guangli.lgl" Date: Mon, 6 Mar 2017 14:59:17 +0800 Subject: [PATCH] fix: update readme --- .idea/gradle.xml | 1 - .idea/modules.xml | 1 - README.md | 20 +++++++++++++++++++- build.gradle | 5 +---- settings.gradle | 2 +- 5 files changed, 21 insertions(+), 8 deletions(-) diff --git a/.idea/gradle.xml b/.idea/gradle.xml index e684c32..051d444 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -8,7 +8,6 @@ diff --git a/.idea/modules.xml b/.idea/modules.xml index 9bcba26..d2452a3 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -3,7 +3,6 @@ - diff --git a/README.md b/README.md index 1c5f1d0..7c77e91 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ # VerificationCodeInput +[![](https://jitpack.io/v/liuguangli/VerificationCodeInput.svg)](https://jitpack.io/#liuguangli/VerificationCodeInput) + 简洁验证码输入框,能自定义输入框个数和样式。 ![](https://github.com/liuguangli/VerificationCodeInput/blob/master/verification.gif) -# how to use +# How to use +# Gradle dependencies + +Add it in your root build.gradle at the end of repositories: + + allprojects { + repositories { + ... + maven { url 'https://jitpack.io' } + } + } +Step 2. Add the dependency + + dependencies { + compile 'com.github.liuguangli:VerificationCodeInput:1.0' + } +Share this release: # MIT diff --git a/build.gradle b/build.gradle index d3dc53d..db5976f 100644 --- a/build.gradle +++ b/build.gradle @@ -3,10 +3,7 @@ buildscript { repositories { jcenter() - maven { - url "https://plugins.gradle.org/m2/" - } - maven { url "https://jitpack.io" } + } dependencies { classpath 'com.android.tools.build:gradle:2.2.2' diff --git a/settings.gradle b/settings.gradle index e37ad30..a0580e5 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1 @@ -include ':simple', ':corelibrary' +include ':simple'//, ':corelibrary'