-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish.gradle
47 lines (44 loc) · 1.48 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
42
43
44
45
46
47
apply plugin: 'nexus'
modifyPom {
project {
name 'object-builder'
description 'Object Builder'
url 'https://github.com/jparams/object-builder'
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/object-builder'
connection 'scm:git:https://github.com/jparams/object-builder.git'
developerConnection 'scm:[email protected]:jparams/object-builder.git'
}
developers {
developer {
id 'syed'
name 'Syed Belal Jafri'
}
}
// We need to remove the SWT dependency. SWT is platform specific and not available in Maven Central.
// For this reason, we don't include it in the POM. If you need to grab SWT for your project, and you're
// using Gradle, check out how we get it from the Google Code repo in our build.gradle.
dependencies {
}
}
}
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'
}