forked from chiclaim/MRouter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaven.gradle
38 lines (36 loc) · 1.2 KB
/
maven.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
apply plugin: 'com.github.dcendents.android-maven'
//Be use for compile 'com.chiclaim.modularization.mrouter:mrouter-api:1.0.0'
group = PUBLISHED_GROUP_ID
install {
repositories.mavenInstaller {
// This generates POM.xml with proper parameters
pom {
project {
packaging 'aar'
//groupId PUBLISHED_GROUP_ID
//Be use for compile 'com.chiclaim.modularization.mrouter:mrouter-api:1.0.0'
//artifactId artifact 目前测试来看一定要和moduleName一样
name libraryDescription //Description
url siteUrl
licenses {
license {
name licenseName
url licenseUrl
}
}
developers {
developer {
id DEVELOPER_ID
name DEVELOPER_NAME
email DEVELOPER_EMAIL
}
}
scm {
connection gitUrl
developerConnection gitUrl
url siteUrl
}
}
}
}
}