-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish.gradle
44 lines (38 loc) · 981 Bytes
/
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
39
40
41
42
43
44
apply plugin: 'com.bmuschko.nexus'
modifyPom {
project {
name ARTIFACT_ID
description LIBRARY_DESC
url GIT_REPO_URL
inceptionYear INCEPTION_YEAR
scm {
url GIT_REPO_URL
connection GIT_VCS_URL
developerConnection GIT_VCS_URL
}
licenses {
license {
name LICENSE_NAME
url LICENSE_URL
distribution 'repo'
}
}
developers {
developer {
id DEVELOPER_ID
name DEVELOPER_NAME
email DEVELOPER_EMAIL
}
}
}
}
extraArchive {
sources = true
tests = false
javadoc = true
}
nexus {
sign = true
repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots/'
}