From 057bb9dac5784c8db15500de93622e0746d62d54 Mon Sep 17 00:00:00 2001 From: Jan-Niclas Struewer Date: Thu, 24 Oct 2024 09:48:14 +0200 Subject: [PATCH] ci: we don't need to explicitly set repository information for maven repository --- .../main/kotlin/spha-kotlin-conventions.gradle.kts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/buildSrc/src/main/kotlin/spha-kotlin-conventions.gradle.kts b/buildSrc/src/main/kotlin/spha-kotlin-conventions.gradle.kts index 75e1067..8dba423 100644 --- a/buildSrc/src/main/kotlin/spha-kotlin-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/spha-kotlin-conventions.gradle.kts @@ -73,20 +73,6 @@ mavenPublishing { url = "https://github.com/fraunhofer-iem/software-product-health-analyzer" } } - - repositories { - maven { - name = "mavenCentral" - val releasesRepoUrl = - "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/" - val snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/" - url = - uri( - if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl - else releasesRepoUrl - ) - } - } } kotlin {