-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmavenInstall.gradle
41 lines (37 loc) · 1.16 KB
/
mavenInstall.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 = GROUP // Maven Group ID for the artifact
install {
repositories.mavenInstaller {
// This generates POM.xml with proper parameters
pom {
project {
packaging POM_PACKAGING
groupId GROUP
artifactId POM_ARTIFACT_ID
// Add your description here
name POM_NAME
description POM_DESCRIPTION
url POM_URL
// Set your license
licenses {
license {
name POM_LICENCE_NAME
url POM_LICENCE_URL
}
}
developers {
developer {
id POM_DEVELOPER_ID
name POM_DEVELOPER_NAME
email POM_DEVELOPER_EMAIL
}
}
scm {
connection POM_SCM_CONNECTION
developerConnection POM_SCM_DEV_CONNECTION
url POM_SCM_URL
}
}
}
}
}