-
Notifications
You must be signed in to change notification settings - Fork 77
/
install.gradle
41 lines (37 loc) · 1.1 KB
/
install.gradle
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
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
//Set description
name libraryName
description libraryDescription
url siteUrl
//Set license
licenses {
license {
name licenseName
url licenseUrl
}
}
developers {
developer {
id developerId
name developerName
email developerEmail
}
}
scm {
connection gitUrl
developerConnection gitUrl
url siteUrl
}
}
}
}
}