From 54ed4b4f371c967e7e35e0d2462b16c57a64191c Mon Sep 17 00:00:00 2001 From: Articdive <13535885+Articdive@users.noreply.github.com> Date: Mon, 13 Jul 2020 17:04:50 +0200 Subject: [PATCH] Change version scheme, update repository --- build.gradle.kts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 0256850..7430a92 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,5 @@ group = "de.articdive" -version = "1.0-SNAPSHOT" +version = "1.0.0" plugins { java @@ -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"]}"