문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 마지막 판 양쪽 다음 판 | ||
gradle:testfixtures [2022/04/14 14:56] kwon37xi |
gradle:testfixtures [2022/04/14 15:17] kwon37xi [상위 모듈 설정] |
||
---|---|---|---|
줄 4: | 줄 4: | ||
* 이를 극복하기 위해 상위 모듈에 '' | * 이를 극복하기 위해 상위 모듈에 '' | ||
- | ===== 설정 ===== | + | ===== 상위 모듈 |
+ | * 설정 후 '' | ||
<code groovy> | <code groovy> | ||
plugins { | plugins { | ||
줄 21: | 줄 22: | ||
testFixturesImplementation ' | testFixturesImplementation ' | ||
} | } | ||
+ | </ | ||
+ | ===== 하위 모듈에서 사용 ===== | ||
+ | <code groovy> | ||
+ | dependencies { | ||
+ | implementation(project(": | ||
+ | |||
+ | testImplementation ' | ||
+ | testImplementation(testFixtures(project(": | ||
+ | } | ||
</ | </ | ||
+ |