@@ -70,7 +70,7 @@ dependencies {
70
70
}
71
71
72
72
group = ' io.github.fvarrui'
73
- version = ' 1.6.3-SNAPSHOT '
73
+ version = ' 1.6.3'
74
74
description = ' Hybrid Maven/Gradle plugin to package Java applications as native Windows, Mac OS X or GNU/Linux executables and create installers for them'
75
75
76
76
sourceCompatibility = JavaVersion . VERSION_1_8
@@ -150,6 +150,9 @@ publishToMavenLocal.dependsOn(build)
150
150
151
151
if (project. hasProperty(' release' )) {
152
152
153
+ apply plugin : ' signing'
154
+ apply plugin : ' maven'
155
+
153
156
task javadocJar(type : Jar ) {
154
157
classifier = ' javadoc'
155
158
from javadoc
@@ -164,51 +167,46 @@ if (project.hasProperty('release')) {
164
167
archives javadocJar, sourcesJar
165
168
}
166
169
167
- allprojects {
168
- apply plugin : ' signing'
169
- apply plugin : ' maven'
170
-
171
- // Signature of artifacts
172
- signing {
173
- sign configurations. archives
174
- }
170
+ // Signature of artifacts
171
+ signing {
172
+ sign configurations. archives
173
+ }
175
174
176
- // OSSRH publication
177
- uploadArchives {
178
- repositories {
179
- mavenDeployer {
180
- // POM signature
181
- beforeDeployment { MavenDeployment deployment -> signing. signPom(deployment) }
182
- // Target repository
183
- repository(url : " https://oss.sonatype.org/service/local/staging/deploy/maven2/" ) {
184
- authentication(userName : ossrhUser, password : ossrhPassword)
185
- }
186
- pom. project {
187
- name project. name
188
- description project. description
189
- packaging = ' maven-plugin'
175
+ // OSSRH publication
176
+ uploadArchives {
177
+ repositories {
178
+ mavenDeployer {
179
+ // POM signature
180
+ beforeDeployment { MavenDeployment deployment -> signing. signPom(deployment) }
181
+ // Target repository
182
+ repository(url : " https://oss.sonatype.org/service/local/staging/deploy/maven2/" ) {
183
+ authentication(userName : ossrhUser, password : ossrhPassword)
184
+ }
185
+ pom. project {
186
+ name project. name
187
+ description project. description
188
+ packaging = ' maven-plugin'
189
+ url ' https://github.com/fvarrui/JavaPackager'
190
+
191
+ scm {
192
+ connection ' scm:git:git://github.com/fvarrui/JavaPackager.git'
193
+ developerConnection
' scm:git:[email protected] :fvarrui/fvarrui.git'
190
194
url ' https://github.com/fvarrui/JavaPackager'
195
+ }
191
196
192
- scm {
193
- connection ' scm:git:git://github.com/fvarrui/JavaPackager.git'
194
- developerConnection
' scm:git:[email protected] :fvarrui/fvarrui.git'
195
- url ' https://github.com/fvarrui/JavaPackager'
196
- }
197
-
198
- licenses {
199
- license {
200
- name ' GPL-v3.0'
201
- url ' http://www.gnu.org/licenses/gpl-3.0.txt'
202
- distribution ' repo'
203
- }
197
+ licenses {
198
+ license {
199
+ name ' GPL-v3.0'
200
+ url ' http://www.gnu.org/licenses/gpl-3.0.txt'
201
+ distribution ' repo'
204
202
}
203
+ }
205
204
206
- developers {
207
- developer {
208
- id = ' fvarrui'
209
- name = ' Francisco Vargas Ruiz'
210
- url = ' https://github.com/fvarrui'
211
- }
205
+ developers {
206
+ developer {
207
+ id = ' fvarrui'
208
+ name = ' Francisco Vargas Ruiz'
209
+ url = ' https://github.com/fvarrui'
212
210
}
213
211
}
214
212
}
0 commit comments