From 9bf324875775b35028df87345f0a76836c03fbe2 Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Fri, 5 Jan 2024 13:00:16 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20Gitea=E3=81=AE=E3=83=AA=E3=83=9D?= =?UTF-8?q?=E3=82=B8=E3=83=88=E3=83=AA=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index a485efc..7c60010 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -81,4 +81,19 @@ publishing{ } } } + repositories { + maven { + name = "Gitea" + url = uri("https://git.usbharu.dev/api/packages/usbharu/maven") + + credentials(HttpHeaderCredentials::class.java) { + name = "Authorization" + value = "token "+(project.findProperty("gpr.gitea") as String? ?: System.getenv("GITEA")) + } + + authentication { + create("header") + } + } + } }