Merge pull request #16300 from nik9000/eclipse_project_names
Name eclipse projects to gradle path
This commit is contained in:
commit
903d4d48ab
|
@ -223,6 +223,11 @@ tasks.idea.dependsOn(buildSrcIdea)
|
|||
// eclipse configuration
|
||||
allprojects {
|
||||
apply plugin: 'eclipse'
|
||||
// Name all the non-root projects after their path so that paths get grouped together when imported into eclipse.
|
||||
if (path != ':') {
|
||||
System.err.println(eclipse.project.name + ' ' + path)
|
||||
eclipse.project.name = path
|
||||
}
|
||||
|
||||
plugins.withType(JavaBasePlugin) {
|
||||
File eclipseBuild = project.file('build-eclipse')
|
||||
|
|
Loading…
Reference in New Issue