Commit 9e629d3d authored by Aneta Steimarova's avatar Aneta Steimarova

#352 iTest files (itest module) added to sourceSets for Android and iOS

parent 9083a48a
...@@ -93,7 +93,7 @@ android { ...@@ -93,7 +93,7 @@ android {
} }
iTest { iTest {
manifest.srcFile 'src/iTest/AndroidManifest.xml' manifest.srcFile 'src/iTest/AndroidManifest.xml'
java.srcDirs = ['src/main/java', 'src/iTest/java'] java.srcDirs = ['src/main/java', 'src/iTest/java', '../itest/src/']
res.srcDirs = ['res/iTest'] res.srcDirs = ['res/iTest']
} }
devel { devel {
......
...@@ -376,10 +376,7 @@ project(":android") { ...@@ -376,10 +376,7 @@ project(":android") {
apply plugin: "spoon" apply plugin: "spoon"
apply plugin: 'android-command' apply plugin: 'android-command'
configurations { configurations { natives }
natives
iTestCompile
}
dependencies { dependencies {
compile project(":core") compile project(":core")
...@@ -401,7 +398,6 @@ project(":android") { ...@@ -401,7 +398,6 @@ project(":android") {
testCompile 'org.robolectric:robolectric:2.3' testCompile 'org.robolectric:robolectric:2.3'
androidTestCompile "com.squareup.spoon:spoon-client:1.1.7" androidTestCompile "com.squareup.spoon:spoon-client:1.1.7"
androidTestCompile 'com.jayway.android.robotium:robotium-solo:5.3.1' androidTestCompile 'com.jayway.android.robotium:robotium-solo:5.3.1'
iTestCompile project(":itest")
} }
} }
......
...@@ -27,9 +27,7 @@ sourceSets { ...@@ -27,9 +27,7 @@ sourceSets {
} }
} }
iTest { iTest {
java { java.srcDirs = ['src/iTest/', '../itest/src/']
srcDir 'src/iTest/'
}
compileClasspath += sourceSets.main.runtimeClasspath compileClasspath += sourceSets.main.runtimeClasspath
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment