Skip to content

Commit

Permalink
toast
Browse files Browse the repository at this point in the history
  • Loading branch information
manikandanvgts committed Oct 12, 2023
1 parent 3390baf commit 08c249e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion toast/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'

id 'maven-publish'
}

android {
Expand Down Expand Up @@ -38,4 +38,15 @@ dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
}

afterEvaluate {
android.libraryVariants.each {
publishing.publications.create(variant.name,MavenPublication) {
from components.findByName(variant.name)
groupId = 'com.github.manikandanvgts'
artifactId = 'sampleandoridpulgin'
version = '1.0.1'
}
}
}

0 comments on commit 08c249e

Please sign in to comment.