Blog purpose for android basic example for android app developer. any query please my contact

Saturday, 11 January 2025

what is Android build.gradle

 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