Skip to content

Commit c89e14c

Browse files
build: update publishing task
Signed-off-by: Andreas Reichel <[email protected]>
1 parent c92fdea commit c89e14c

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

build.gradle

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -600,25 +600,6 @@ tasks.register('sphinx', Exec) {
600600
mavenPublishing {
601601
coordinates(group, "jsqlparser", version)
602602

603-
publishing {
604-
publications {
605-
mavenJava(MavenPublication) { publication ->
606-
from components.java
607-
versionMapping {
608-
usage('java-api') {
609-
fromResolutionOf('runtimeClasspath')
610-
}
611-
usage('java-runtime') {
612-
fromResolutionResult()
613-
}
614-
allVariants {
615-
fromResolutionResult()
616-
}
617-
}
618-
}
619-
}
620-
}
621-
622603
pom {
623604
name.set('JSQLParser library')
624605
description.set('Parse SQL Statements into Abstract Syntax Trees (AST)')
@@ -661,7 +642,6 @@ tasks.withType(AbstractPublishToMaven).configureEach {
661642
dependsOn(tasks.withType(Sign))
662643
}
663644

664-
665645
signing {
666646
required { !version.endsWith("SNAPSHOT") && gradle.taskGraph.hasTask("publish") }
667647
}

0 commit comments

Comments
 (0)