-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupload.gradle
More file actions
41 lines (38 loc) · 1.5 KB
/
upload.gradle
File metadata and controls
41 lines (38 loc) · 1.5 KB
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
if (canPublish) {
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment {MavenDeployment deployment ->
signing.signPom(deployment)
}
repository(url: sonatypeUrl) {
authentication userName: sonatypeUsername, password: sonatypePassword
}
pom.project {
name('pixela-java-client-api')
packaging 'jar'
description 'pixela-java-client API'
url 'https://github.com/mike-neck/pixela-java-client'
scm {
connection 'scm:git:https://github.com/mike-neck/pixela-java-client'
developerConnection 'scm:git:https://github.com/mike-neck/pixela-java-client'
url 'https://github.com/mike-neck/pixela-java-client'
}
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id 'mikeneck'
name 'Shinya Mochida'
email 'jkrt3333[at]gmail.com'
}
}
}
}
}
}
}