I'm trying to add in testing to my Android app via RoboSpock. I'm trying to model my project after their example. So I have the following structure to my project:
src/
android/
src/org/myorg/myproject
build.gradle
robospock/
src/
build.gradle
gradlew
build.gradle
settings.gradle
Here's my settings.gradle:
include ':android', ':robospock'
project(':android').name = 'estanteApp'
project(':robospock').name = 'estanteApp-robospock-tests'
If I run gradle, I get this error:
FAILURE: Build failed with an exception.
Where: Build file '/Users/bradrhoads/Documents/src/estante/src/build.gradle' line: 1
What went wrong: A problem occurred evaluating root project 'src'.
Could not find method include() for arguments [android, robospock] on root project 'src'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
What am I doing wrong? Thanks!