From afa19b3c982f21e894240c8675f062759982ccbc Mon Sep 17 00:00:00 2001 From: Islam Date: Sun, 13 Feb 2022 03:51:32 +0200 Subject: [PATCH] remove artifact add maven plugin and group --- android-tru-forms/build.gradle | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/android-tru-forms/build.gradle b/android-tru-forms/build.gradle index db6311b..0250fac 100644 --- a/android-tru-forms/build.gradle +++ b/android-tru-forms/build.gradle @@ -1,5 +1,6 @@ apply plugin: 'com.android.library' -apply plugin: 'maven-publish' +apply plugin: 'maven' +group = 'com.github.trufla-technology' android { compileSdkVersion 29 @@ -79,26 +80,3 @@ dependencies { androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0' implementation 'androidx.exifinterface:exifinterface:1.2.0-beta01' } -task sourceJar(type: Jar) { - from android.sourceSets.main.java.srcDirs - classifier "sources" -} - -afterEvaluate { - publishing { - publications { - release(MavenPublication) { - groupId = 'com.github.trufla-technology' //your git id - artifactId = 'android-tru-forms' //your-repository - version = 'v2.21-alpha102' // As same as the Tag - artifact(sourceJar) - artifact("$buildDir/outputs/aar/android-tru-forms-release.aar") - } - } - repositories { - maven { - url "$buildDir/repo" - } - } - } -} \ No newline at end of file