Skip to content

Commit 6ed0b04

Browse files
build: manticore sub releases
Signed-off-by: Andreas Reichel <[email protected]>
1 parent 484eaa1 commit 6ed0b04

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,17 @@ def getVersion = { boolean considerSnapshot ->
6262
snapshot = "-SNAPSHOT"
6363
}
6464

65-
return patch != null
66-
? "${major}.${minor}.${patch}${snapshot}"
67-
: "${major}.${minor}${snapshot}"
65+
return "${major}.${minor}" +
66+
(patch != null ? ".${patch}" : "") +
67+
(build != null ? ".${build}" : "") +
68+
snapshot
6869
}
6970

7071

7172
// for publishing a release, call Gradle with Environment Variable RELEASE:
7273
// RELEASE=true gradle JSQLParser:publish
7374
version = getVersion( !System.getenv("RELEASE") )
74-
group = 'com.github.jsqlparser'
75+
group = 'com.manticore-projects.jsqlformatter'
7576
description = 'JSQLParser library'
7677

7778
tasks.register('generateBuildInfo') {
@@ -607,7 +608,7 @@ publishing {
607608
mavenJava(MavenPublication) {
608609
artifactId = 'jsqlparser'
609610

610-
from components.java
611+
from(components.java)
611612

612613
versionMapping {
613614
usage('java-api') {

0 commit comments

Comments
 (0)