문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 마지막 판 양쪽 다음 판 | ||
gradle:dependencies [2017/03/24 08:37] kwon37xi |
gradle:dependencies [2019/06/03 15:59] kwon37xi |
||
---|---|---|---|
줄 693: | 줄 693: | ||
* [[https:// | * [[https:// | ||
* 따라서 아래 방법들은 Gradle 구버전에서만 사용하고 최신 버전에서는 '' | * 따라서 아래 방법들은 Gradle 구버전에서만 사용하고 최신 버전에서는 '' | ||
+ | * '' | ||
+ | < | ||
+ | sourceSets { | ||
+ | test.compileClasspath += configurations.compileOnly | ||
+ | test.runtimeClasspath += configurations.compileOnly | ||
+ | } | ||
+ | // 혹은 | ||
+ | configurations { | ||
+ | testImplementation.extendsFrom compileOnly | ||
+ | } | ||
+ | </ | ||
아래 모든 방법들을 사용하기 보다는 [[gradle: | 아래 모든 방법들을 사용하기 보다는 [[gradle: | ||
줄 780: | 줄 791: | ||
===== CompositeBuild ===== | ===== CompositeBuild ===== | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * '' | ||
+ | includeBuild ' | ||
+ | </ | ||
+ | |||
+ | ===== Source Dependency ===== | ||
+ | * [[https:// | ||
===== 참조할 DSL ===== | ===== 참조할 DSL ===== |