Default Configuration for a new gradle project

I’m curious as to why there isn’t something simple to build out a gradle project.

As an example I create a repository and then create a file named build.gradle, if I simply add a java plugin it would be really nice for a default task such as gradle default or init, etc… task name could be anything. I know you can do this yourself but it would be nice to have it build into the tool.

The goal would be to create a default structure for a new project like src/main/java and so on being created.

Thank you for a great product.

Is this sort of what you’re looking for? https://docs.gradle.org/current/userguide/build_init_plugin.html

That’s exactly what I was looking for, thank you very much!

Hi gcstang,

You can read the installation guide at : https://docs.gradle.org/current/userguide/installation.html or you post this issue at anu of your favorite android developer forum where you can also ask you specific app development queries and receive answers with in no time.

@harish24I don’t think this question was necessarily targeted toward the Gradle Android plugin.

Yes but we understand proper installation of gradle