Version 1.2.1
This commit is contained in:
parent
1f1ece0956
commit
24b047ae1b
8 changed files with 29 additions and 27 deletions
|
@ -53,7 +53,7 @@ public class SemverBuild extends Project {
|
|||
public SemverBuild() {
|
||||
pkg = "net.thauvin.erik";
|
||||
name = "SemVer";
|
||||
version = version(1, 2, 1, "SNAPSHOT");
|
||||
version = version(1, 2, 1);
|
||||
|
||||
var description = "Semantic Version Annotation Processor";
|
||||
var url = "https://github.com/ethauvin/semver";
|
||||
|
@ -79,7 +79,7 @@ public class SemverBuild extends Project {
|
|||
publishOperation()
|
||||
.repository(version.isSnapshot() ? repository(SONATYPE_SNAPSHOTS_LEGACY.location())
|
||||
.withCredentials(property("sonatype.user"), property("sonatype.password"))
|
||||
: repository(SONATYPE_RELEASES.location())
|
||||
: repository("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
|
||||
.withCredentials(property("sonatype.user"), property("sonatype.password")))
|
||||
.info(new PublishInfo()
|
||||
.groupId(pkg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue