etc tools
[gradle] dependency의 scope를 test로 설정
'김용환'
2015. 9. 7. 14:40
gradle 에서 scope 를 test로 하는 dependency 를 추가하려면, testCompile을 사용한다.
dependencies {
testCompile("org.springframework.boot:spring-boot-starter-test")
}
compile, runtime, testCompile, testRuntime 등이 더 있다.
출처 : https://docs.gradle.org/current/userguide/artifact_dependencies_tutorial.html