Skip to content

Commit

Permalink
Change version scheme, update repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Articdive committed Jul 13, 2020
1 parent 145c910 commit 54ed4b4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = "de.articdive"
version = "1.0-SNAPSHOT"
version = "1.0.0"

plugins {
java
Expand Down Expand Up @@ -42,9 +42,7 @@ publishing {
repositories {
maven {
name = "Articdive-Nexus-OSS-3-Repository"
val releasesRepoUrl = "https://repo.articdive.de/repository/maven-releases"
val snapshotsRepoUrl = "https://repo.articdive.de/repository/maven-snapshots"
url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl)
url = uri("https://repo.articdive.de/repository/maven-releases")
credentials {
username="${project.properties["repository_username"]}"
password="${project.properties["repository_password"]}"
Expand Down

0 comments on commit 54ed4b4

Please sign in to comment.