forked from CarGuo/GSYVideoPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpublish.gradle
38 lines (35 loc) · 1.15 KB
/
publish.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: "maven-publish"
afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
group = PROJ_GROUP
artifactId = PROJ_ARTIFACTID
version = PROJ_VERSION
pom {
name = PROJ_NAME
description = PROJ_DESCRIPTION
url = PROJ_VCSURL
licenses {
license {
name = "The Apache License, Version 2.0"
url = "https://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
developers {
developer {
id = DEVELOPER_ID
name = DEVELOPER_NAME
}
}
scm {
connection = PROJ_ISSUETRACKERURL
developerConnection = PROJ_VCSURL
url = PROJ_WEBSITEURL
}
}
}
}
}
}