forked from novoda/notils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy.gradle
45 lines (37 loc) · 1.39 KB
/
deploy.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
apply plugin: 'maven'
apply plugin: 'signing'
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { deployment -> signing.signPom(deployment) }
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots") {
authentication(userName: nexusUsername, password: nexusPassword)
}
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2") {
authentication(userName: nexusUsername, password: nexusPassword)
}
uniqueVersion = false
pom.project {
parent {
groupId 'org.sonatype.oss'
artifactId 'oss-parent'
version '7'
}
name 'NoTils'
artifactId 'notils'
groupId 'com.novoda'
version '2.1-SNAPSHOT'
description 'Never again need a .utils. package yur scurvy sea dogs!'
url 'https://github.com/novoda/NoTils'
inceptionYear '2013'
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
}
}
}
}