Skip to content

Commit

Permalink
Rearrange deps to allow JUnit runs in IDEA
Browse files Browse the repository at this point in the history
  • Loading branch information
tony19 committed Feb 6, 2018
1 parent 17c1528 commit e316d5b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions logback-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,17 @@ android {
}

dependencies {
testImplementation 'org.mockito:mockito-core:2.13.0'
testImplementation(group: 'junit', name: 'junit', version: '4.12') {
exclude(module: 'hamcrest-core')
}
testImplementation 'org.hamcrest:hamcrest-junit:2.0.0.0'
testImplementation 'org.robolectric:robolectric:3.6.1'
testImplementation 'org.mockito:mockito-core:2.13.0'

// This dep is required when using Robolectric and targeting pre-21 SDKs.
// Otherwise, tests fail with java.lang.NoClassDefFoundError.
// https://github.com/robolectric/robolectric/issues/2562#issuecomment-263086503
testImplementation 'org.robolectric:android-all:8.1.0-robolectric-r4458339'

implementation 'com.github.tony19:apktool-lib:1.4.4-4'

testImplementation 'com.icegreen:greenmail:1.5.6'
testImplementation 'dom4j:dom4j:1.6.1'
testImplementation 'org.easytesting:fest-assert:1.4'
Expand All @@ -71,7 +68,9 @@ dependencies {
testImplementation(group: 'org.subethamail', name: 'subethasmtp', version: '3.1.7') {
exclude(module: 'slf4j-api')
}
compileOnly 'com.google.android:android:2.1.2'

implementation 'com.github.tony19:apktool-lib:1.4.4-4'

compileOnly "org.slf4j:slf4j-api:${slf4jVersion}"

// For SMTPAppender
Expand Down

0 comments on commit e316d5b

Please sign in to comment.