What’s the right way to import a gradle project that contains a buildSrc subproject into eclipse? (I’m making the assumption that buildSrc is a real gradle sub project even though it’s a convention based thing.
Both my top level project and buildSrc have build.gradle scripts:
├── build.gradle
├── buildSrc
│ ├── build.gradle
│ └── src
│
└── main
│
├── groovy
│
│ └── com
│
│
└── ..... lots of groovy
│
├── java
│
│ └── com
│
│
└── .... lots of java
│
└── resources
├── src
│ ├── main
│ │ ├── groovy
│ │ ├── java
│ └── test
│
└── java
If I import just the top level project, even with “automatically include sub-projects” checked, it’s missing the buildSrc source directories.
What’s needed in the top level build.gradle to make the eclipse target include the buildSrc source directories in the eclipse project?
If I add them manually to the project they get deleted when I refresh the config from gradle.
if I import buildSrc as a separate gradle project, it’s still not working right as I can’t stop on breakpoints in the buildSrc code after I attach to a remote gradle jvm running my build, so I’m assuming I just don’t have the project setup correctly.