문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
gradle:maven [2013/12/10 21:07] kwon37xi |
gradle:maven [2017/12/12 13:03] kwon37xi |
||
---|---|---|---|
줄 2: | 줄 2: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | ===== 기본 설정 ===== | ||
<code gradle> | <code gradle> | ||
apply plugin: ' | apply plugin: ' | ||
줄 16: | 줄 19: | ||
mavenDeployer { | mavenDeployer { | ||
repository(url: | repository(url: | ||
+ | authentication(userName: | ||
+ | } | ||
+ | snapshotRepository(url: | ||
authentication(userName: | authentication(userName: | ||
} | } | ||
줄 28: | 줄 34: | ||
} | } | ||
- | task javadocJar(type: | + | task javadocJar(type: |
classifier = ' | classifier = ' | ||
from javadoc.destinationDir | from javadoc.destinationDir | ||
줄 38: | 줄 44: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | * 버전명에 '' | ||
+ | * artifactID는 프로젝트 이름으로 설정된다. | ||
+ | ===== 배포 ===== | ||
+ | <code sh> | ||
+ | # 로컬 저장소(~/ | ||
+ | gradle install | ||
+ | |||
+ | # 원격 저장소에 업로드 | ||
+ | gradle uploadArchives | ||
+ | </ | ||
+ | |||
+ |