Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 984 Bytes

gradle_cheatsheet.md

File metadata and controls

41 lines (27 loc) · 984 Bytes

Gradle Cheat Sheet

Links

Common commands

  • sh gradlew :build - check if Gradle is able to build package
  • sh gradlew :aemDeploy - install package to defined AEM instance(s)

Init new project

Multi-module:

git clone [email protected]:Cognifide/gradle-aem-multi.git && cd gradle-aem-multi && gradlew fork

Single-module:

git clone [email protected]:Cognifide/gradle-aem-single.git && cd gradle-aem-single && gradlew fork

Project setup

To create user-specific settings file, enter forked project directory and run command:

sh gradlew props

To create local development environment run command:

sh gradlew aemSetup