문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
gradle:maven [2013/12/10 21:11] kwon37xi |
gradle:maven [2017/12/12 13:03] kwon37xi |
||
---|---|---|---|
줄 2: | 줄 2: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
===== 기본 설정 ===== | ===== 기본 설정 ===== | ||
줄 17: | 줄 19: | ||
mavenDeployer { | mavenDeployer { | ||
repository(url: | repository(url: | ||
+ | authentication(userName: | ||
+ | } | ||
+ | snapshotRepository(url: | ||
authentication(userName: | authentication(userName: | ||
} | } | ||
줄 29: | 줄 34: | ||
} | } | ||
- | task javadocJar(type: | + | task javadocJar(type: |
classifier = ' | classifier = ' | ||
from javadoc.destinationDir | from javadoc.destinationDir | ||
줄 40: | 줄 45: | ||
</ | </ | ||
+ | * 버전명에 '' | ||
+ | * artifactID는 프로젝트 이름으로 설정된다. | ||
===== 배포 ===== | ===== 배포 ===== | ||
<code sh> | <code sh> | ||
줄 48: | 줄 55: | ||
gradle uploadArchives | gradle uploadArchives | ||
</ | </ | ||
+ | |||
+ |