diff --git a/build.gradle b/build.gradle deleted file mode 100644 index 388af52..0000000 --- a/build.gradle +++ /dev/null @@ -1,6 +0,0 @@ -buildscript { - ext.kotlin_version = '1.3.61' - dependencies { - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - } -} diff --git a/build.gradle.kts b/build.gradle.kts index eb5dfc9..741a175 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -10,6 +10,7 @@ buildscript { classpath(ClassPaths.gradlePlugin) classpath(ClassPaths.kotlinPlugin) classpath(ClassPaths.googleServicesPlugin) + classpath(ClassPaths.githubMaven) // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle.kts files } diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index f149e44..a2d4bb7 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -53,6 +53,7 @@ object ClassPaths { const val gradlePlugin = "com.android.tools.build:gradle:${Versions.gradlePlugin}" const val kotlinPlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}" const val googleServicesPlugin = "com.google.gms:google-services:${Versions.googleServicesPlugin}" + const val githubMaven = "com.github.dcendents:android-maven-gradle-plugin:2.1" } /** diff --git a/customedittextoutlinedborder/build.gradle b/customedittextoutlinedborder/build.gradle index accb192..6d66450 100644 --- a/customedittextoutlinedborder/build.gradle +++ b/customedittextoutlinedborder/build.gradle @@ -4,6 +4,7 @@ apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' apply plugin: 'maven-publish' +apply plugin: 'com.github.dcendents.android-maven' android { compileSdkVersion 29 @@ -48,7 +49,7 @@ def getArtificatId = { -> publishing { publications { bar(MavenPublication) { - groupId 'shweta.com' // Replace with group ID + groupId 'com.github.simformsolutions' // Replace with group ID artifactId getArtificatId() version getVersionName() artifact("$buildDir/outputs/aar/${getArtificatId()}-release.aar")