Description
Intelligent gradle/gradlew wrapper functionality that automatically detects and uses the appropriate build tool.
Gc4
Essential Commands
gradle build
- Build project (auto-detects gradlew vs gradle)gradle test
- Run testsgradle clean
- Clean build artifactsgradle assemble
- Assemble project outputs
Advanced Commands
gradle build --continuous
- Continuous build modegradle test --tests ClassName
- Run specific test classgradle tasks --all
- List all available tasksgradle dependencies
- Show dependency tree
Usage Examples
bash
# Basic workflow (plugin automatically chooses gradlew or gradle)
gradle build
gradle test
gradle clean build
# Advanced usage
gradle build --continuous # Watch for changes
gradle test --tests MyTest # Run specific test
gradle dependencies # Check dependency tree