Azkaban builds use Gradle and requires Java 8 or higher.
The following set of commands run on *nix platforms like Linux, OS X.
# Build Azkaban
./gradlew build
# Clean the build
./gradlew clean
# Build and install distributions
./gradlew installDist
# Run tests
./gradlew test
# Build without running tests
./gradlew build -x test
Documentation is available at azkaban.github.io. The source code for the documentation is in the gh-pages branch.
For help, please visit the Azkaban Google Group.
We recommend using IntelliJ IDEA. Azkaban is a standard Gradle
project. You can import it into your IDE using the build.gradle
file in the root directory. For IntelliJ, choose Open
Project from the Quick Start box or choose Open from the File menu and select the root build.gradle
file.
Azkaban follows Google code style. The template file, intellij-java-google-style.xml
, can be found in the root
directory.
Follow the Intellij's code style help to import and set up the style.
Note: To use different styles for different projects try "You can copy the IDE scheme to the current project, using the Copy to Project... command."
We also recommend intellij's save actions plugin to reformat/refactor code automatically:
Please turn on all the options except
- Remove unused suppress warning annotation
It allows us to do following when saving a file:
- Organize imports
- Reformat code based on the code style
- Rearrange code (reorder methods, fields, etc.)
- Add final to local variable
- Add final to field
- Remove explicit generic type for diamond
- Qualify field access with this
- Remove final from private method
- Remove unnecessary semicolon
- Add missing @Override annotations