Created
October 17, 2016 07:22
-
-
Save e4basil/20a25fed7b2ea6e0fac803b2a9828702 to your computer and use it in GitHub Desktop.
install-v1.gradle
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
apply plugin: 'com.github.dcendents.android-maven' | |
group = publishedGroupId // Maven Group ID for the artifact | |
install { | |
repositories.mavenInstaller { | |
// This generates POM.xml with proper parameters | |
pom { | |
project { | |
packaging 'aar' | |
groupId publishedGroupId | |
artifactId artifact | |
// Add your description here | |
name libraryName | |
description libraryDescription | |
url siteUrl | |
// Set your license | |
licenses { | |
license { | |
name licenseName | |
url licenseUrl | |
} | |
} | |
developers { | |
developer { | |
id developerId | |
name developerName | |
email developerEmail | |
} | |
} | |
scm { | |
connection gitUrl | |
developerConnection gitUrl | |
url siteUrl | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment