You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
44 lines
1.2 KiB
8 years ago
|
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
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
//from https://github.com/workarounds/bundler/blob/master/gradle/install-v1.gradle
|