Skip to content

Aion Code Conventions

Alexandra Roatis edited this page Aug 6, 2019 · 11 revisions

Pull Requests

Pull requests must be made to the master branch.

Before you make a pull request please rebase your changes on that branch (or less preferable, use merge if rebase is difficult) and make sure all the existing tests pass.

Build system

Gradle is used for build scripts and dependency management.

The root Gradle project is defined by the top-level build.gradle (in root of aion project directory) file. Each Aion module (i.e. the directories beginning with 'mod', modFastVM in submodule aion_fastvm, and submodule aion_api) acts as a subproject. aion_api is also set up in a way such that it can act as a subproject (if used within the aion project) or as a standalone root project.

The root build.gradle defines build logic used by all the subprojects. Dependencies for modules (on other subprojects, files, or third-party libraries) should be defined within the subproject.

Clone this wiki locally