install.gradle
1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
apply plugin: 'com.github.dcendents.android-maven'
group = rootProject.ext.groupId // Maven Group ID for the artifact
install {
repositories.mavenInstaller {
// This generates POM.xml with proper parameters
pom {
project {
packaging 'aar'
groupId rootProject.ext.groupId
artifactId rootProject.ext.artifactId
// Add your description here
name rootProject.ext.name
description rootProject.ext.description
url rootProject.ext.url
// Set your license
licenses {
license {
name rootProject.ext.license_name
url rootProject.ext.license_url
}
}
developers {
developer {
id rootProject.ext.developer_id
name rootProject.ext.developer_name
email rootProject.ext.email
}
}
scm {
connection rootProject.ext.url
developerConnection rootProject.ext.url
url rootProject.ext.url
}
}
}
}
}