1. build.gradle 속성 편집
testCompile 'junit:junit:4.12'
// Espresso core
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
androidTestCompile('com.android.support.test:runner:0.5', {
exclude group: 'com.android.support', module: 'support-annotations'
})
androidTestCompile('com.android.support.test:rules:0.5', {
exclude group: 'com.android.support', module: 'support-annotations'
})
// Espresso-intents for validation and stubbing of Intents
androidTestCompile('com.android.support.test.espresso:espresso-intents:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
// Espresso-web for WebView support
androidTestCompile('com.android.support.test.espresso:espresso-web:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
// Espresso-idling-resource for synchronization with background jobs
androidTestCompile('com.android.support.test.espresso:espresso-idling-resource:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
// UiAutomator
androidTestCompile('com.android.support.test.uiautomator:uiautomator-v18:2.1.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
// Espresso-contrib for DatePicker, RecyclerView, Drawer actions, Accessibility checks, CountingIdlingResource
androidTestCompile('com.android.support.test.espresso:espresso-contrib:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
exclude group: 'com.android.support', module: 'appcompat-v7'
exclude group: 'com.android.support', module: 'support-v4'
exclude group: 'com.android.support', module: 'recyclerview-v7'
exclude group: 'com.android.support', module: 'design'
})
해당 내용 추가하여 빌드 관련 라이브러리를 추가합니다.
RXJava, RxAndroid 시작! (0) | 2017.08.24 |
---|---|
모바일 웹 성능 관련 이슈 확인 및 검토 사항 (0) | 2017.05.22 |
갤럭시s8 , G6 리소스 대응! (2) | 2017.05.17 |
금액 형태 변환 코드 줄이기 (0) | 2017.05.16 |
이모티콘(emoji) MySQL charset 문제.. (0) | 2017.05.16 |