251112_01_ENH : 깃 패키지 리포지토리에 퍼블리싱 될 수 있게 세팅

This commit is contained in:
2025-11-12 17:09:18 +09:00
parent a2a9402270
commit 4883eb7e20
2 changed files with 20 additions and 2 deletions

6
.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

View File

@@ -32,8 +32,20 @@ publishing {
publications {
release(MavenPublication) {
from components.java
artifactId = 'starter' // 소비 앱에서 com.kri.common:starter:1.0.0 로 의존
groupId = 'com.kri.common'
artifactId = 'starter' // 소비 프로젝트에서 쓰는 artifactId
version = '1.0.0'
}
}
repositories {
maven {
name = "gitea"
url = uri("http://10.10.10.11:3000/api/packages/KRi/maven") // owner=KRi
allowInsecureProtocol = true
credentials {
username = "gitadmin" // 또는 본인 계정
password = "8faa3eb482aafec11539696fbcee95604c6b93ee"
}
}
}
// repositories { maven { url = uri('https://your-internal-registry') } }
}