Skip to content

Commit 30f993f

Browse files
committed
removes plugin directory generation to fix releasing to maven central
1 parent 726335a commit 30f993f

File tree

1 file changed

+2
-25
lines changed

1 file changed

+2
-25
lines changed

build.gradle

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,6 @@ repositories {
1717
}
1818
}
1919

20-
gradlePlugin {
21-
website = 'http://github.com/fvarrui/JavaPackager'
22-
vcsUrl = 'http://github.com/fvarrui/JavaPackager.git'
23-
description = 'Packages Java applications as native Windows, MacOS or GNU/Linux executables and creates installers for them'
24-
25-
plugins {
26-
create("javaPackagerPlugin") {
27-
id = 'io.github.fvarrui.javapackager.plugin'
28-
displayName = 'JavaPackager'
29-
implementationClass = 'io.github.fvarrui.javapackager.gradle.PackagePlugin'
30-
tags.set(['java', 'packager', 'gradle-plugin', 'maven-plugin', 'native', 'installer', 'debian-packages', 'rpm-packages', 'dmg', 'maven', 'gradle', 'distribution', 'javapackager', 'linux-executables', 'deb', 'rpm', 'native-windows', 'java-applications', 'pkg', 'msi'])
31-
}
32-
}
33-
}
34-
3520
configurations {
3621
mavenEmbedder
3722
}
@@ -64,7 +49,7 @@ dependencies {
6449
}
6550

6651
group = 'io.github.fvarrui'
67-
version = '1.7.1-SNAPSHOT'
52+
version = '1.7.1'
6853
description = 'Hybrid Maven/Gradle plugin to package Java applications as native Windows, Mac OS X or GNU/Linux executables and create installers for them'
6954

7055
sourceCompatibility = JavaVersion.VERSION_1_8
@@ -85,9 +70,6 @@ publishing {
8570
maven {
8671
name = "OSSRH"
8772
url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
88-
89-
url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
90-
9173
credentials {
9274
username = project.findProperty("ossrhUser") ?: ''
9375
password = project.findProperty("ossrhPassword") ?: ''
@@ -105,30 +87,26 @@ publishing {
10587
appendNode('outputDirectory', outputDirectory)
10688
}
10789
}
108-
10990
pom {
91+
name = project.name
11092
groupId = project.group
11193
artifactId = project.name
11294
version = project.version
11395
description = project.description
114-
11596
packaging = 'maven-plugin'
11697
url = 'https://github.com/fvarrui/JavaPackager'
117-
11898
scm {
11999
connection = 'scm:git:git://github.com/fvarrui/JavaPackager.git'
120100
developerConnection = 'scm:git:git@github.com:fvarrui/fvarrui.git'
121101
url = 'https://github.com/fvarrui/JavaPackager'
122102
}
123-
124103
licenses {
125104
license {
126105
name = 'GPL-v3.0'
127106
url = 'http://www.gnu.org/licenses/gpl-3.0.txt'
128107
distribution = 'repo'
129108
}
130109
}
131-
132110
developers {
133111
developer {
134112
id = 'fvarrui'
@@ -184,7 +162,6 @@ nexusStaging {
184162
password = project.findProperty('ossrhPassword') ?: ''
185163
}
186164

187-
188165
task updateUniversalJavaApplicationStub(type : Download) {
189166
def version = '20220410.162252'
190167
group 'Update assets'

0 commit comments

Comments
 (0)