From f0938b728299930758179c2648d96a25878b4610 Mon Sep 17 00:00:00 2001 From: Voomra Date: Tue, 19 Aug 2025 14:46:54 +0300 Subject: [PATCH] =?UTF-8?q?build:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D1=8B=20=D0=B8=D0=BD=D1=81=D1=82=D1=80=D1=83=D0=BA?= =?UTF-8?q?=D1=86=D0=B8=D0=B8=20=D0=BF=D1=83=D0=B1=D0=BB=D0=B8=D0=BA=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D0=B8=20Maven?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/build.gradle b/build.gradle index af645d3..82dcf29 100644 --- a/build.gradle +++ b/build.gradle @@ -38,4 +38,21 @@ publishing { from components.java } } + + repositories { + maven { + name = 'Di9' + url = uri('https://di9.ru/git/api/packages/Voomra/maven') + def giteaToken = System.getenv('GITEA_TOKEN') + + credentials(HttpHeaderCredentials) { + name = 'Authorization' + value = "token ${giteaToken}" + } + + authentication { + header(HttpHeaderAuthentication) + } + } + } }