diff --git a/app/build.gradle b/app/build.gradle index 1453bac..ba326b1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -4,11 +4,7 @@ apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' -ext { - PUBLISH_GROUP_ID = 'com.poovam' - PUBLISH_ARTIFACT_ID = 'pin-edittext-field' - PUBLISH_VERSION = '1.2.3' -} +apply plugin: 'maven-publish' android { compileSdkVersion 29 @@ -41,4 +37,16 @@ dependencies { androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' } -apply from: 'https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle' \ No newline at end of file + +afterEvaluate { + publishing { + publications { + release(MavenPublication) { + from components.release + groupId = 'com.poovam' + artifactId = 'pin-edittext-field' + version = '1.2.3' + } + } + } +} \ No newline at end of file diff --git a/app/src/main/java/com/poovam/pinedittextfield/CustomTransformationMethod.java b/app/src/main/java/com/poovam/pinedittextfield/CustomTransformationMethod.java new file mode 100644 index 0000000..bdb88e3 --- /dev/null +++ b/app/src/main/java/com/poovam/pinedittextfield/CustomTransformationMethod.java @@ -0,0 +1,4 @@ +package com.poovam.pinedittextfield; + +public class CustomTransformationMethod { +} diff --git a/build.gradle b/build.gradle index 518785c..80a1d92 100644 --- a/build.gradle +++ b/build.gradle @@ -1,9 +1,10 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.3.61' + ext.kotlin_version = '1.4-M1-release-101' repositories { maven { url 'https://maven.google.com' } + maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' } jcenter() google() } @@ -20,6 +21,7 @@ buildscript { allprojects { repositories { maven { url 'https://maven.google.com' } + maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' } jcenter() google() } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index d38f5bc..a97ac4b 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -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-5.6.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip \ No newline at end of file