Skip to content

Commit

Permalink
Initial Release
Browse files Browse the repository at this point in the history
  • Loading branch information
aabhasr1 committed Jan 10, 2019
1 parent 86a65ed commit 4064f26
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
build/
.gradle
target
out
gen-external-apklibs
*.iml
.idea
!.idea/codeStyleSettings.xml
META-INF
local.properties
.DS_Store
*.apk
*.alloc
*.hprof
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
language: android

android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
# - tools
# - platform-tools

# The BuildTools version used by your project
- build-tools-28.0.3

# The SDK version used to compile your project
- android-28

gradle :otptextview:build
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[![Build Status](https://travis-ci.org/aabhasr1/OtpView.png?branch=master)](https://travis-ci.org/aabhasr1/OtpView) [![](https://jitpack.io/v/aabhasr1/OtpView.svg)](https://jitpack.io/#aabhasr1/OtpView)
# OtpView
This is a OTP Box implementation for case when a sinlee digit should be shown in a seperate box.

## Installation
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 {
implementation 'com.github.aabhasr1:OtpView:<latest version>'
}
```
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
defaultConfig {
applicationId "in.aabhasjindal.pintest"
minSdkVersion 15
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
classpath 'com.android.tools.build:gradle:3.2.1'


Expand Down
8 changes: 6 additions & 2 deletions otptextview/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
group = 'com.github.aabhasjindal'

android {
compileSdkVersion 28


buildToolsVersion '28.0.3'

defaultConfig {
minSdkVersion 15
Expand All @@ -27,4 +28,7 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}

0 comments on commit 4064f26

Please sign in to comment.