Skip to content

Commit

Permalink
[*] Updated libraries and gradle. Moved targetSdkVersion to 31.
Browse files Browse the repository at this point in the history
  • Loading branch information
VicMikhailau committed Aug 3, 2021
1 parent 70bec19 commit 219e4c6
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 19 deletions.
12 changes: 5 additions & 7 deletions MaskedEditText/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,17 @@ apply plugin: 'kotlin-android'

ext {
PUBLISH_GROUP_ID = 'io.github.vicmikhailau'
PUBLISH_VERSION = '4.0.5'
PUBLISH_VERSION = '4.0.6'
PUBLISH_ARTIFACT_ID = 'MaskedEditText'
}
apply from: "${rootProject.projectDir}/scripts/publish-mavencentral.gradle"

android {
compileSdkVersion 30
compileSdkVersion 31

defaultConfig {
minSdkVersion 14
targetSdkVersion 30
versionCode 15
versionName "4.0.5"
targetSdkVersion 31
}
buildTypes {
release {
Expand All @@ -33,8 +31,8 @@ android {


ext {
androidx_appcompat = '1.2.0'
androidx_core_ktx = '1.3.2'
androidx_appcompat = '1.3.1'
androidx_core_ktx = '1.6.0'
}

dependencies {
Expand Down
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ It allows you to add a mask to EditText

# Version

4.0.5
4.0.6

# Installation

Expand All @@ -25,9 +25,19 @@ allprojects {

**Step 2**: Add the library as a dependency in your *module* level `build.gradle` file:

*Groovy:*

```sh
dependencies {
implementation 'io.github.vicmikhailau:MaskedEditText:4.0.5'
implementation 'io.github.vicmikhailau:MaskedEditText:4.0.6'
}
```

*Kotlin:*

```sh
dependencies {
implementation("io.github.vicmikhailau:MaskedEditText:4.0.6")
}
```

Expand Down Expand Up @@ -86,6 +96,10 @@ Unfortunately, there is no way to devote much time to the project. Please feel f
# Change Logs
### v4.0.6
Updated Gradle and libraries. Changed targetSdkVersion to 31.
### v4.0.5
Moved project to the MavenCentral. Changed groupId to io.github.vicmikhailau
Expand Down
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'

android {
compileSdkVersion 30
compileSdkVersion 31

defaultConfig {
applicationId "com.vicmikhailau.maskededittextsample"
minSdkVersion 14
targetSdkVersion 30
targetSdkVersion 31
versionCode 1
versionName "1.0"
multiDexEnabled true
Expand Down Expand Up @@ -38,8 +38,8 @@ android {

ext {
desugar_jdk_libs = '1.1.5'
androidx_appcompat = '1.2.0'
androidx_core_ktx = '1.3.2'
androidx_appcompat = '1.3.1'
androidx_core_ktx = '1.6.0'
}

dependencies {
Expand Down
5 changes: 2 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.vicmikhailau.maskededittextsample">

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<activity android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>

</manifest>
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlin_version = '1.4.32'
ext.kotlin_version = '1.5.21'
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
classpath 'com.android.tools.build:gradle:7.0.0'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip

0 comments on commit 219e4c6

Please sign in to comment.