-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish.gradle
188 lines (179 loc) · 7.4 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
import org.apache.tools.ant.filters.*
publishing {
publications {
// Main maven artifact
jaybird(MavenPublication) {
from components.java
artifactId project.mavenName
suppressPomMetadataWarningsFor 'nativeApiElements'
suppressPomMetadataWarningsFor 'nativeRuntimeElements'
pom {
name = 'Jaybird JDBC Driver'
packaging = 'jar'
description = 'JDBC Driver for the Firebird RDBMS'
url = 'https://www.firebirdsql.org/en/devel-jdbc-driver/'
/*
Initial check-in was 2001-05-09 by "d_jencks" according to commit here:
https://github.com/FirebirdSQL/jaybird/commit/5e215213f916bc2c46d891da661131e18fb65f14
*/
inceptionYear = '2001'
developers {
developer {
id = 'mrotteveel'
name = 'Mark Rotteveel'
email = 'mark@lawinegevaar.nl'
roles = ['Administrator', 'Developer']
}
developer {
id = 'rrokytskyy'
name = 'Roman Rokytskyy'
roles = ['Developer']
}
developer {
id = 'd_jencks'
name = 'David Jencks'
roles = ['Developer']
}
developer {
id = 'brodsom'
name = 'Blas Rodriguez Somoza'
roles = ['Developer']
}
developer {
id = 'gab_reid'
name = 'Gabriel Reid'
roles = ['Developer']
}
developer {
id = 'ryanbaldwin'
name = 'Ryan Baldwin'
roles = ['Developer']
}
developer {
id = 'sjardine'
name = 'Steven Jardine'
roles = ['Developer']
}
developer {
id = 'alberola'
name = 'Alejandro Alberola Arias'
roles = ['Developer']
}
developer {
id = 'rfincher'
name = 'Rick Fincher'
roles = ['Developer']
}
developer {
id = 'skywalker'
name = 'Mark ODonohue'
roles = ['Developer']
}
developer {
id = 'skidder'
name = 'Nikolay Samofatov'
roles = ['Developer']
}
developer {
id = 'lorban'
name = 'Ludovic Orban'
roles = ['Developer']
}
developer {
id = 'tsteinmaurer'
name = 'Thomas Steinmaurer'
roles = ['Developer']
}
}
contributors {
contributor {
name = 'Smyatkin-Maxim'
url = 'https://github.com/Smyatkin-Maxim'
}
contributor {
name = 'Hajime Nakagami'
url = 'https://github.com/nakagami'
}
contributor {
name = 'Vjacheslav Borisov'
url = 'https://github.com/slavb18'
}
contributor {
name = 'Ivan Arabadzhiev'
url = 'https://github.com/ls4f'
}
contributor {
name = 'Artyom Smirnov'
url = 'https://github.com/artyom-smirnov'
}
contributor {
name = 'Vasiliy Yashkov'
url = 'https://github.com/vasiliy-yashkov'
}
contributor {
name = 'Julien Nabet'
url = 'https://github.com/serval2412'
}
}
mailingLists {
mailingList {
name = 'firebird-java'
subscribe = 'firebird-java+subscribe@googlegroups.com'
unsubscribe = 'firebird-java+unsubscribe@googlegroups.com'
post = 'firebird-java@googlegroups.com'
archive = 'https://groups.google.com/g/firebird-java'
otherArchives = ['http://fb-list-archive.s3-website-eu-west-1.amazonaws.com/firebird-java/index.html']
}
}
licenses {
license {
name = 'GNU Lesser General Public License'
url = 'https://www.gnu.org/copyleft/lesser.html'
distribution = 'repo'
comments = 'The Jaybird JDBC driver is distributed free of charge under the ' +
'GNU Lesser General Public License (LGPL). Text of the license can be ' +
'obtained from https://www.gnu.org/copyleft/lesser.html'
}
license {
name = 'Modified BSD (3-clause) License'
url = 'https://opensource.org/licenses/BSD-3-Clause'
distribution = 'repo'
comments = 'The extension interfaces of Jaybird are defined under a modified BSD license'
}
}
scm {
connection = 'scm:git:https://github.com/FirebirdSQL/jaybird.git'
developerConnection = 'scm:git:https://github.com/FirebirdSQL/jaybird.git'
url = 'https://github.com/FirebirdSQL/jaybird'
}
issueManagement {
system = 'GitHub'
url = 'https://github.com/FirebirdSQL/jaybird/issues/'
}
}
}
}
repositories {
maven {
url = project.isReleaseVersion.get() ? project.releaseRepository : project.snapshotRepository
credentials {
username = findProperty('ossrhUsername') ?: null
password = findProperty('ossrhPassword') ?: null
}
}
}
}
allprojects {
tasks.withType(PublishToMavenRepository).each {
it.doFirst {
if (findProperty('ossrhUsername') == null || findProperty('ossrhPassword') == null) {
throw new RuntimeException('No credentials for publishing, make sure to specify the properties ' +
'credentialsPassphrase, or ossrhUsername and ossrhPassword. See devdoc/publish.md for details.')
}
}
}
}
signing {
required { isReleaseVersion && gradle.taskGraph.hasTask(':publish') }
sign publishing.publications.jaybird
}