문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
gradle:dependencies [2015/10/22 01:24] kwon37xi [캐시 관련 명령행 옵션] |
gradle:dependencies [2020/09/01 12:31] (현재) kwon37xi [파일 의존성] |
||
|---|---|---|---|
| 줄 278: | 줄 278: | ||
| runtime files(' | runtime files(' | ||
| runtime files(' | runtime files(' | ||
| + | runtime rootProject.files(' | ||
| runtime fileTree(dir: | runtime fileTree(dir: | ||
| } | } | ||
| 줄 690: | 줄 691: | ||
| ===== provided ===== | ===== provided ===== | ||
| + | * Gradle 2.x 에서 최종적으로 '' | ||
| + | * [[https:// | ||
| + | * 따라서 아래 방법들은 Gradle 구버전에서만 사용하고 최신 버전에서는 '' | ||
| + | * '' | ||
| + | < | ||
| + | sourceSets { | ||
| + | test.compileClasspath += configurations.compileOnly | ||
| + | test.runtimeClasspath += configurations.compileOnly | ||
| + | } | ||
| + | |||
| + | // 혹은 | ||
| + | configurations { | ||
| + | testImplementation.extendsFrom compileOnly | ||
| + | } | ||
| + | </ | ||
| + | |||
| 아래 모든 방법들을 사용하기 보다는 [[gradle: | 아래 모든 방법들을 사용하기 보다는 [[gradle: | ||
| * [[http:// | * [[http:// | ||
| 줄 772: | 줄 789: | ||
| ./gradlew dependencyInsight --configuration testCompile --dependency junit | ./gradlew dependencyInsight --configuration testCompile --dependency junit | ||
| </ | </ | ||
| + | |||
| + | ===== CompositeBuild ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * '' | ||
| + | includeBuild ' | ||
| + | </ | ||
| + | |||
| + | ===== Source Dependency ===== | ||
| + | * [[https:// | ||
| ===== 참조할 DSL ===== | ===== 참조할 DSL ===== | ||
| 줄 780: | 줄 808: | ||
| * [[http:// | * [[http:// | ||
| * [[http:// | * [[http:// | ||
| + | |||
| + | |||
| + | ===== Dependency Management Plugin ===== | ||
| + | https:// | ||
| + | |||
| + | |||