문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
gradle:testfixtures [2022/04/14 15:02] kwon37xi |
gradle:testfixtures [2022/04/15 09:57] (현재) kwon37xi [상위 모듈 설정] |
||
---|---|---|---|
줄 7: | 줄 7: | ||
* 설정 후 '' | * 설정 후 '' | ||
<code groovy> | <code groovy> | ||
- | // 전역 설정 | ||
plugins { | plugins { | ||
// which produces test fixtures | // which produces test fixtures | ||
줄 17: | 줄 16: | ||
testImplementation ' | testImplementation ' | ||
+ | // testFixtures 에 어떤 의존성이 필요할 경우 추가 | ||
// API dependencies are visible to consumers when building | // API dependencies are visible to consumers when building | ||
testFixturesApi ' | testFixturesApi ' | ||
- | |||
// Implementation dependencies are not leaked to consumers when building | // Implementation dependencies are not leaked to consumers when building | ||
testFixturesImplementation ' | testFixturesImplementation ' |