-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchive.gradle
55 lines (46 loc) · 1.72 KB
/
archive.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
48
49
50
51
52
53
54
55
apply plugin: 'maven'
apply plugin: 'signing'
artifacts {
archives javadocJar, sourcesJar
}
signing {
sign configurations.archives
}
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
pom.project {
name 'Kelpie'
packaging 'jar'
// optionally artifactId can be defined here
description 'A simple yet general framework for running end-to-end testing.'
url 'https://github.com/scalar-labs/kelpie'
scm {
connection 'scm:git:https://github.com/scalar-labs/kelpie.git'
developerConnection 'scm:git:https://github.com/scalar-labs/kelpie.git'
url 'https://github.com/scalar-labs/kelpie'
}
licenses {
license {
name 'Apache License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0'
}
}
developers {
developer {
id 'yuji'
name 'Yuji Ito'
email '[email protected]'
}
}
}
}
}
}