-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpublish.gradle
47 lines (42 loc) · 1.58 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
modifyPom {
project {
packaging 'jar'
name "$project.group:$archivesBaseName"
description 'A file format converter from xlsx to csv using streaming.'
url 'https://github.com/kenshoo/file-format-streaming-converter'
scm {
connection 'scm:git:[email protected]:kenshoo/file-format-streaming-converter.git'
developerConnection 'scm:git:[email protected]:kenshoo/file-format-streaming-converter.git'
url '[email protected]:kenshoo/file-format-streaming-converter.git'
}
licenses {
license {
name 'The Apache License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id 'Shachaf Ashkenazi'
name 'Shachaf Ashkenazi'
email '[email protected]'
url 'https://github.com/shachaf-ashkenazi'
organization = 'Kenshoo' // for some weird reason, organization requires equals in order to put organization to pom, otherwise org.apache.maven.model.Organization.toString() is used
organizationUrl 'http://www.kenshoo.com/'
roles {
role 'Software Engineer'
}
}
}
}
}
extraArchive {
sources = true
tests = true
javadoc = true
}
nexus {
sign = true
repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots/'
}