Use the standard project layout (Gradle best practice tip #3)

preview_player
Показать описание
The Gradle java and application plugins have a standard project layout they expect, so why wouldn't you go with the flow? Learn what this standard is, to make sure you're not making life difficult for yourself.

✔️using the standard layout means less configuration
✔️new developers working with your project will more easily understand it

This is #3 of 30 Gradle best practice tips.
Рекомендации по теме
Комментарии
Автор

It's worth mentioning, that this standard layout is defined (and documented) specifically in Java Plugin. In this video only the Application Plugin is applied explicitly. However, the Application Plugin implicitly applies the Java plugin.

jozeftokarski
Автор

Any idea why the simple project has a subproject?
Any idea why it's called "app" which to me seems to be a rubbish name carrying no meaning?
That said, I fully agree with using the standard defaults where one can.

emmaatkinson