New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to copy your pattern #4
Comments
thanks for your simple example and i found the pitfall. In alphabetical order upper case letter comes before of lower case letters. So your UnitTest-module was just in front and not the app-module I also updated it here with extra tips |
I finally figured this out - thanks to your working example I could compare against the --debug log on gradlew. Your project mysteriously builds the projects in order:
In other words - it compiles the main AndroidSample first; the order is alphabetical! |
LOL - you answered me at the same time I found the answer! Thank you for your effort! I have learned a lot by looking at this code. I even put in some debug statements in the plugin. |
good to know that you are searching by self for your issues ;) (when you feel, your issues are not more present, then please close them) |
Hi - trying to follow your pattern of sub directories with an existing project. I have tried to replicate what you have almost exactly. Yet when I build I get this error:
A problem occurred evaluating project ':UnitTestsRobolectric'.
It thinks that the main Android application doesn't have the android plugin applied, yet it does! Any idea what I am doing wrong?
The directory structure looks like:
Settings.gradle:
My build.gradle in the top most folder has the same settings as yours, except I use build tools 19.0.1.
app/build.gradle has this at top:
UnitTestsRobolectric/build.gradle has this:
I see this code in the plugin source so I know it must have found the gradle file for the app, but I can't explain why it doesn't see the android plugin applied!
The text was updated successfully, but these errors were encountered: