diff --git a/README.md b/README.md index 83843ab..29442b2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# PasscodeView +# PasscodeView An Passcode view view for Android. @@ -9,14 +9,27 @@ An Passcode view view for Android. -## Usage +## Add ```gradle dependencies { - compile 'com.hanks:passcodeview:0.1.2' + implementation 'com.github.JobGetabu:PasscodeView:0.1.3' } ``` +Add it in your root build.gradle at the end of repositories: + +``` +allprojects { + repositories { + ... + maven { url 'https://jitpack.io' } + } + } + ``` + +## Usage + ```xml - \ No newline at end of file + diff --git a/sample/build.gradle b/sample/build.gradle index 0bc0c86..efa23cd 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -1,11 +1,11 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 26 + compileSdkVersion 28 defaultConfig { applicationId "com.hanks.demo" minSdkVersion 15 - targetSdkVersion 26 + targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" @@ -24,8 +24,8 @@ dependencies { exclude group: 'com.android.support', module: 'support-annotations' }) implementation project(":passcodeview") - implementation 'com.android.support:appcompat-v7:26.1.0' + implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support.constraint:constraint-layout:1.0.2' - implementation 'com.android.support:design:26.1.0' + implementation 'com.android.support:design:28.0.0' testImplementation 'junit:junit:4.12' } diff --git a/sample/src/main/java/com/hanks/demo/MainActivity.java b/sample/src/main/java/com/hanks/demo/MainActivity.java index f020f04..ec85387 100644 --- a/sample/src/main/java/com/hanks/demo/MainActivity.java +++ b/sample/src/main/java/com/hanks/demo/MainActivity.java @@ -1,8 +1,8 @@ package com.hanks.demo; import android.content.Intent; -import android.support.v7.app.AppCompatActivity; import android.os.Bundle; +import android.support.v7.app.AppCompatActivity; import android.view.View; public class MainActivity extends AppCompatActivity {