문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 마지막 판 양쪽 다음 판 | ||
gradle:dependencies [2018/05/17 09:01] kwon37xi [CompositeBuild] |
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: | ||
줄 785: | 줄 796: | ||
includeBuild ' | includeBuild ' | ||
</ | </ | ||
+ | |||
+ | ===== Source Dependency ===== | ||
+ | * [[https:// | ||
+ | |||
===== 참조할 DSL ===== | ===== 참조할 DSL ===== | ||
* [[http:// | * [[http:// |