Link Search Menu Expand Document

Gradle Cheat Sheet

Commands

  gradle build
  gradle build --scan   # Create code scan
  
  gradle tasks          # List build targets
  gradle tasks --all
  
  gradle cleanup

Using the wrapper

Generate the gradlew wrapper from inside your project directory

  gradle wrapper

Use the wrapper

  ./gradlew <gradle options>