I've followed your approach and folders are recognized as modules for me and they are getting build :(
And I've found that it's not only issue for me:
https://stackoverflow.com/questions/28971394/how-do-i-prevent-gradle-from-building-a-non-project-directory
Do you have some suggestion how it could be disabled in really elegant way ?
Updates:
- I found that it so because empty folder are still recognized as gradle module and to avoid that we can mark child as following:
- Other option is to keep folder as module, but don't apply plugins to it to not produce output/artifacts:
if(file('build.gradle').exists()){
//apply plugins here
}
Still looking for better way to do it without workarounds and without having this module :)
I've followed your approach and folders are recognized as modules for me and they are getting build :(
And I've found that it's not only issue for me:
https://stackoverflow.com/questions/28971394/how-do-i-prevent-gradle-from-building-a-non-project-directory
Do you have some suggestion how it could be disabled in really elegant way ?
Updates:
Still looking for better way to do it without workarounds and without having this module :)