Gradle subproject not included in classpath
问题 We have a set up with 2 project, 1 main and 1 subproject, they are Java projects. They are all under the same directory. Here is how the directory structure looks like : ./dev ./Project_A build.gradle settings.gradle ./Project_B build.gradle Project_A includes Project_B. Project_A settings.gradle looks like : includeFlat 'Project_B' Project_A build.gradle contains : compile project(':Project_B') The issue Project_A misses the classes from Project_B when compiling from command line ( gradlew