Categories

Oct 21, 2019 in Gradle
Q: What are a Gradle project and task?

1 Answer

Oct 21, 2019

Every Gradle build is made up of one or more projects. What a project represents depends on what it is that you are doing with Gradle. For example, a project might represent a library JAR or a web application. It might represent a distribution ZIP assembled from the JARs produced by other projects. A project does not necessarily represent a thing to be built. It might represent a thing to be done, such as deploying your application to staging or production environments. Don’t worry if this seems a little vague for now. Gradle’s build-by-convention support adds a more concrete definition of what a project is.

Each project is made up of one or more tasks. A task represents some atomic piece of work which a build performs. This might be compiling some classes, creating a JAR, generating Javadoc, or publishing some archives to a repository.

Click here to read more about Gradle
Click here to read more about Insurance

Related questions

Madanswer
May 27, 2019 in Gradle
Apr 14 in Gradle
Jun 21 in Gradle
...