How can I hide and rename buildSrc for a multi-level project?


(Andrei Pozolotin) #1

How can I hide and rename buildSrc for a multi-level project?

Specifically, I want 3 things: 1) rename folder “buildSrc” -> “.src” 2) rename project “buildSrc” -> “${rootProject}-build-helper” 3) be able to import “buildSrc” in eclipse with “include ${rootProject}-build-helper” in settings.gradle


(Peter Niederwieser) #2

‘buildSrc’ can’t be renamed, at least not currently. It should be possible to import it into Eclipse, e.g. by adding ‘apply plugin: “eclipse”’ to ‘buildSrc/build.gradle’ and running ‘gradle eclipse’ in the ‘buildSrc’ directory.


(Andrei Pozolotin) #3

should I file jira issue for the feature?


(Peter Niederwieser) #4

JIRA is read-only by now. We’ll deal with this once we replace ‘buildSrc’ with a more general mechanism.