Created
December 17, 2019 15:34
-
-
Save prasad79/9558c73a820f53b329067620bdede31b to your computer and use it in GitHub Desktop.
Publishing Android library to Github Packages using Kotlin DSL - customise publications
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
publishing { | |
publications { | |
create<MavenPublication>("gpr") { | |
run { | |
groupId = "com.enefce.libraries" | |
artifactId = getArtificatId() | |
version = getVersionName() | |
artifact("$buildDir/outputs/aar/${getArtificatId()}-release.aar") | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment