From bed90e49996ee7454813be6ce6d5ed7b0849aeed Mon Sep 17 00:00:00 2001 From: vicmikhailau Date: Tue, 5 Nov 2019 23:02:54 +0300 Subject: [PATCH] [*] Updated library version to 3.0.1. --- MaskedEditText/build.gradle | 12 ++++++++---- MaskedEditText/src/main/AndroidManifest.xml | 7 +------ README.md | 14 +++++++++++--- app/build.gradle | 2 +- 4 files changed, 21 insertions(+), 14 deletions(-) diff --git a/MaskedEditText/build.gradle b/MaskedEditText/build.gradle index 116f5ad..6660b08 100644 --- a/MaskedEditText/build.gradle +++ b/MaskedEditText/build.gradle @@ -1,6 +1,6 @@ apply plugin: 'com.android.library' -apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-android' +apply plugin: 'kotlin-android-extensions' ext { bintrayRepo = 'maven' @@ -15,7 +15,7 @@ ext { siteUrl = 'https://github.com/VicMikhailau/MaskedEditText' gitUrl = 'https://github.com/VicMikhailau/MaskedEditText.git' - libraryVersion = '2.0.4' + libraryVersion = '3.0.1' developerId = 'VicMikhailau' developerName = 'Vic Mikhailau' @@ -32,8 +32,8 @@ android { defaultConfig { minSdkVersion 14 targetSdkVersion 29 - versionCode 3 - versionName "2.0.4" + versionCode 5 + versionName "3.0.1" } buildTypes { release { @@ -43,6 +43,10 @@ android { } } +tasks.withType(Javadoc).all { + excludes = ['**/*.kt'] +} + ext { androidx_appcompat = "1.1.0" androidx_core_ktx = "1.1.0" diff --git a/MaskedEditText/src/main/AndroidManifest.xml b/MaskedEditText/src/main/AndroidManifest.xml index c6b3ccb..98b7afc 100644 --- a/MaskedEditText/src/main/AndroidManifest.xml +++ b/MaskedEditText/src/main/AndroidManifest.xml @@ -1,9 +1,4 @@ - - - - - + diff --git a/README.md b/README.md index 795a9d2..1c95c8f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-MaskedEditText-green.svg?style=true)](https://android-arsenal.com/details/1/3659) [![Codewake](https://www.codewake.com/badges/ask_question.svg)](https://www.codewake.com/p/maskededittext) +[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-MaskedEditText-green.svg?style=true)](https://android-arsenal.com/details/1/3659) # MaskedEditText It allows you to add a mask to EditText @@ -7,7 +7,7 @@ It allows you to add a mask to EditText # Version -2.0.4 +3.0.1 # Installation @@ -15,7 +15,7 @@ To use this library in your android project, just simply add the following depen ```sh dependencies { - compile 'com.vicmikhailau:MaskedEditText:2.0.4' + implementation 'com.vicmikhailau:MaskedEditText:3.0.1' } ``` @@ -63,8 +63,16 @@ For example: you would like create a mask for a mobile number in format **(029)7 String unmaskedString = formatter.formatString(text).getUnMaskedString(); ``` +# Fixes and updates + +Unfortunately, there is no way to devote much time to the project. Please feel free to Fork the project and add Pull requests. Thanks a lot! + # Change Logs +### v3.0.1 + +Moved library to androidx and kotlin. + ### v2.0.4 Updated support version. diff --git a/app/build.gradle b/app/build.gradle index 64a9087..de21d01 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,6 +1,6 @@ apply plugin: 'com.android.application' -apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-android' +apply plugin: 'kotlin-android-extensions' android { compileSdkVersion 29