Skip to content

Commit

Permalink
remove artifact add maven plugin and group
Browse files Browse the repository at this point in the history
  • Loading branch information
islamwt committed Feb 13, 2022
1 parent 7bfa430 commit afa19b3
Showing 1 changed file with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions android-tru-forms/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'maven-publish'
apply plugin: 'maven'
group = 'com.github.trufla-technology'

android {
compileSdkVersion 29
Expand Down Expand Up @@ -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"
}
}
}
}

0 comments on commit afa19b3

Please sign in to comment.