42 lines
1.1 KiB
Groovy
42 lines
1.1 KiB
Groovy
|
apply plugin: 'com.github.dcendents.android-maven'
|
||
|
|
||
|
// Maven Group ID for the artifact
|
||
|
group = publishedGroupId
|
||
|
|
||
|
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
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|