From ccf354d0b2e95a5d29ec9809876a43190a200268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Skarp=C3=A5s?= Date: Fri, 17 Jan 2025 13:52:47 +0100 Subject: [PATCH] F - Endrer maven url til cached maven release som ikke trenger PAT --- buildSrc/ep-module.gradle | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/buildSrc/ep-module.gradle b/buildSrc/ep-module.gradle index f27e951d..152fa2d6 100644 --- a/buildSrc/ep-module.gradle +++ b/buildSrc/ep-module.gradle @@ -24,14 +24,8 @@ apply plugin: com.adarshr.gradle.testlogger.TestLoggerPlugin repositories { mavenCentral() - String token = System.getenv("GITHUB_TOKEN") ?: project.findProperty("gpr.key") - if (!token) throw new NullPointerException("Missing token, you have to set GITHUB_TOKEN or gpr.key, see README") maven { - url = uri("https://maven.pkg.github.com/navikt/maven-release") - credentials { - username = "token" - password = token - } + url = uri("https://github-package-registry-mirror.gc.nav.no/cached/maven-release") } }