251112_01_ENH : 깃 패키지 리포지토리에 퍼블리싱 될 수 있게 세팅
This commit is contained in:
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal 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>
|
||||
16
build.gradle
16
build.gradle
@@ -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') } }
|
||||
}
|
||||
Reference in New Issue
Block a user