GRADLE
GRADLE
Gradle
UNIT II
Gradle Basics
• Local plugins - Gradle enables users to create custom plugins using APIs.
• Custom or local plugins are developed and used within a specific project or organization.
Incremental Builds & Cache
• The build cache stores previous build results and restores them when
needed. It prevents the redundant work and cost of executing
time-consuming and expensive processes.
Gradle in Eclipse IDE
• Install connect:
• Help -> market place -> search for “buildship gradle” -> install
• Configure:
• Windows -> preference -> gradle -> location installation directiory -> “path
of gradle”
• Apply and close
Running Gradle commands in windows
shell/ Git Bash (Linux Shell)
• Change path : cd “path”
• Gradle make dir: mkdir “Project Folder Name”
• Locate and change directory (cd) to project folder
Running Gradle commands in windows
shell/ Git Bash (Linux Shell)
• gradle init : command to initialize a new Gradle project with a
basic directory structure and default files