What exactly is Gradle in the Android studio?

Asked 1 years ago, Updated 1 years ago, 52 views

I'm a beginner developer who's starting Android for the first time. I have no idea what Gradle is. Please explain to me what this is doing and what this is for in the Android studio

android android-studio gradle build-automation

2022-09-22 15:25

1 Answers

Gradle is a build system.

Gradle absorbed both Ant's freedom and Maven's merits of convention. And the issue of XML, the biggest drawback of both Ant and Maven build tools, is also being addressed using Groovy language.

As a project configuration/build tool, project configuration is static configuration information and build is dynamic. However, by allowing this to be described in XML suitable for storing static data, it imposes significant restrictions on the building, which is a dynamic act. In addition, XML is so redundant that it has more XML frameworks than actual settings.

Gradle is written in Groovy DSL, and configuration information is in the form of putting values in variables, and dynamic builds can be made by calling the plug-in for Gradle with Groovy scripts or by coding directly. References Reference 2


2022-09-22 15:25

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.