Marc Guillemot wrote:
>
> I'd like to have following projects in Eclipse:
>
> foo-moduleA
> foo-moduleB
>
So the Gradle projects should still be named moduleA and moduleB, but the
Eclipse projects should be named foo-moduleA and foo-moduleB? Have you tried
the following:
apply plugin: "eclipse"
prefix = "foo"
eclipseProject {
projectName = "$prefix-$project.name"
}
Another approach would be to change the Gradle project names. This doesn't
necessarily mean that the directory names would have to change (the mapping
can be customized in settings.gradle).
--
Peter Niederwieser
Developer, Gradle
http://www.gradle.org
Trainer & Consultant, Gradle Inc.
http://www.gradle.biz
Creator, Spock Framework
http://spockframework.org
--
View this message in context:
http://gradle.1045684.n5.nabble.com/Eclipse-plugin-How-to-add-prefix-to-Eclipse-project-names-tp3389231p3389295.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email