-
Notifications
You must be signed in to change notification settings - Fork 6
/
publish.gradle
executable file
·41 lines (39 loc) · 1.16 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
39
40
41
apply plugin: 'nexus'
modifyPom {
project {
name 'to-string-verifier'
description 'To String Verifier'
url 'https://github.com/jparams/to-string-verifier'
packaging 'jar'
organization {
name 'JParams'
url 'https://github.com/jparams'
}
licenses {
license {
name 'MIT License'
url 'http://www.opensource.org/licenses/mit-license.php'
distribution 'repo'
}
}
scm {
url 'https://github.com/jparams/to-string-verifier'
connection 'scm:git:https://github.com/jparams/to-string-verifier.git'
developerConnection 'scm:[email protected]:jparams/to-string-verifier.git'
}
developers {
developer {
id 'syed'
name 'Syed Belal Jafri'
}
}
}
}
nexus {
attachJavadoc = true
attachSources = true
attachTests = true
sign = true
repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots'
}