From 43b35ed595c55aa9613aa9ffe7263622f7939966 Mon Sep 17 00:00:00 2001 From: StefMa Date: Sat, 25 Nov 2023 06:50:02 +0100 Subject: [PATCH] Add sonartype repositories --- build.gradle.kts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index d734060..5748ef7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -107,5 +107,19 @@ publishing { password = project.findProperty("githubPackagesKey") as? String } } + maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") { + name = "SonatypeSnapshot" + credentials { + username = System.getenv("SONATYPE_USER") + password = System.getenv("SONATYPE_PASSWORD") + } + } + maven("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/") { + name = "SonatypeStaging" + credentials { + username = System.getenv("SONATYPE_USER") + password = System.getenv("SONATYPE_PASSWORD") + } + } } }