File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff 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
7374version = getVersion( ! System . getenv(" RELEASE" ) )
74- group = ' com.github.jsqlparser '
75+ group = ' com.manticore-projects.jsqlformatter '
7576description = ' JSQLParser library'
7677
7778tasks. 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' ) {
You can’t perform that action at this time.
0 commit comments