Skip to content

Commit

Permalink
Migrating to Jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
poovamraj-freshworks committed Apr 9, 2021
1 parent 8097514 commit b26b274
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
20 changes: 14 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
groupId = 'com.poovam'
artifactId = 'pin-edittext-field'
version = '1.2.3'
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package com.poovam.pinedittextfield;

public class CustomTransformationMethod {
}
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -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()
}
Expand All @@ -20,6 +21,7 @@ buildscript {
allprojects {
repositories {
maven { url 'https://maven.google.com' }
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
jcenter()
google()
}
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-5.6.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip

0 comments on commit b26b274

Please sign in to comment.