From 621679af58990950506d2c3b7c90cda544c069dc Mon Sep 17 00:00:00 2001 From: kric_jspark Date: Fri, 5 Jun 2026 11:25:39 +0900 Subject: [PATCH] =?UTF-8?q?260605=5F01=5FENH:=20gitea=20=EC=9B=B9=ED=9B=85?= =?UTF-8?q?=EC=9D=84=20=EC=A0=81=EC=9A=A9=ED=95=98=EC=97=AC=20jenkins?= =?UTF-8?q?=EB=A1=9C=20=ED=8C=A8=ED=82=A4=EC=A7=80=20=EB=B0=B0=ED=8F=AC=20?= =?UTF-8?q?=EC=9E=90=EB=8F=99=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index ef2f1d4..e969894 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { } //버전 변경은 여기서 -def commonVer = "beta.1.1.20" +def commonVer = "beta.1.1.21" group = 'com.kri.common' version = commonVer @@ -71,24 +71,26 @@ dependencies { compileOnly 'org.springframework.boot:spring-boot-starter-data-redis' } -def giteaUser = findProperty("giteaUser") ?: "" -def giteaToken = findProperty("giteaToken") ?: "" +def giteaUser = findProperty("giteaUser") ?: System.getenv("GITEA_USER") ?: "" +def giteaToken = findProperty("giteaToken") ?: System.getenv("GITEA_TOKEN") ?: "" + publishing { publications { release(MavenPublication) { from components.java groupId = 'com.kri.common' - artifactId = 'starter' // 소비 프로젝트에서 쓰는 artifactId + artifactId = 'starter' version = commonVer } } + repositories { maven { name = "gitea" - url = uri("https://gitea.kric.com/api/packages/KRi/maven") // owner=KRi - //allowInsecureProtocol = true + url = uri("https://gitea.kric.com/api/packages/KRi/maven") + credentials { - username = giteaUser // 또는 본인 계정 + username = giteaUser password = giteaToken } }