what is Android build.gradle
Gradle is a build system (open source) that is used to automate building, testing, deployment, etc. “build.gradle” are script where one can automate the tasks. For example, the simple task of copying some files from one directory to another can be performed by the Gradle build script before the actual build process happens.
Why is Gradle Needed?
Every Android project needs a Gradle for generating an apk from the .java and .xml files in the project. Simply put, a Gradle takes all the source files (java and XML) and applies appropriate tools, e.g., converts the java files into dex files and compresses all of them into a single file known as apk that is actually used. There are two types of build.gradle scripts
No comments:
Post a Comment