From 2995808bcc2adfbf0c458b0ad35bf51c42030da3 Mon Sep 17 00:00:00 2001 From: rnentjes Date: Sat, 7 Dec 2024 17:21:48 +0100 Subject: [PATCH] Release version 1.0.0 and enhance repository credentials This commit finalizes the release version by updating the version number from "1.0.0-SNAPSHOT" to "1.0.0" in the `build.gradle.kts` file. It also adds repository credentials for two Maven repositories, "gitea" and "gitea8443", to enable authenticated access. These changes ensure proper versioning and enhance secure access to dependencies. --- build.gradle.kts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index c78c97f..8653921 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } group = "nl.astraeus" -version = "1.0.0-SNAPSHOT" +version = "1.0.0" repositories { mavenCentral() @@ -58,6 +58,18 @@ publishing { name = "gitea" setUrl("https://gitea.astraeus.nl/api/packages/rnentjes/maven") + credentials { + val giteaUsername: String? by project + val giteaPassword: String? by project + + username = giteaUsername + password = giteaPassword + } + } + maven { + name = "gitea8443" + setUrl("https://gitea.astraeus.nl:8443/api/packages/rnentjes/maven") + credentials { val giteaUsername: String? by project val giteaPassword: String? by project