Fix for tests in Android Studio
This commit is contained in:
parent
a9c42a3641
commit
81e91efb3a
|
@ -22,7 +22,7 @@ android {
|
|||
|
||||
sourceSets {
|
||||
androidTest {
|
||||
java.srcDirs = ['src/androidTest/java', project(':tests').file('src/main/java')]
|
||||
java.srcDirs = ['src/androidTest/java', project(':tests').file('src/test/java')]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ repositories {
|
|||
sourceSets {
|
||||
test {
|
||||
java {
|
||||
srcDirs = ['src/test/java/', project(':tests').file('src/main/java')]
|
||||
srcDirs = ['src/test/java/', project(':tests').file('src/test/java')]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,6 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
compile 'junit:junit:3.8.2'
|
||||
testCompile 'junit:junit:3.8.2'
|
||||
|
||||
compile project(':java')
|
||||
|
|
Loading…
Reference in New Issue