From 0267fff5c695f0ba9bd69c63eefbdcbefbae0788 Mon Sep 17 00:00:00 2001 From: ajgeiss0702 Date: Sat, 22 May 2021 16:17:21 +0000 Subject: [PATCH] try this --- build.gradle.kts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 3c02f03..dd6f1b8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -60,12 +60,12 @@ publishing { maven { url = uri(mavenUrl) name = "Gitlab" - credentials(HttpHeaderCredentials::class.java) { - name = "Job-Token" - value = System.getenv("CI_JOB_TOKEN") - } authentication { - container(HttpHeaderAuthentication::class.java) + //container(HttpHeaderAuthentication::class.java) + credentials(HttpHeaderCredentials::class.java) { + name = "Job-Token" + value = System.getenv("CI_JOB_TOKEN") + } } } }