Open
Description
By using the project directory as the default input, nested projects are automatically formatted.
For example,
.
├── LICENSE.txt
├── README.md
├── foo
│ ├── bar
│ │ ├── src/main/java
│ │ └── build.gradle
│ ├── src/main/java
│ └── build.gradle
├ build.gradle
└ settings.gradle
This is a basic example. The real project has many more modules. The idea, though, is that the root build.gradle
is applying the plugin to all subprojects except for certain ones. In this case, let's say we're excluding "bar".
The problem, though, is that by applying it in "foo" the sources in "bar" will automatically be formatted.
For now, I can configure this myself and have each project specify only its Java source folders as GJF sources, but it would be nice if this was the default. Operating outside of these folders would then become the thing which required explicit configuration.
Metadata
Metadata
Assignees
Labels
No labels