Skip to content

Using Gradle

Alexander Yevsyukov edited this page Jan 12, 2022 · 2 revisions

Spine uses Gradle as the project build system.

Gradle Configuration

  1. Check out and open the project.
  2. Sync Gradle. Wait for Maven repositories to be updated and indexes downloaded and built.
  3. Build the project.

Use Gradle wrapper instead of local Gradle distribution. To do so, use gradlew clean instead of gradle clean and so on.

Note: Before configuring Gradle, make sure you have granted execution rights to Gradle wrapper on Unix-based systems using the chmod +x ./gradlew command.

Not using snapshot versions

By default, Gradle build does not support snapshots. Although it is possible to make Gradle work with them, it turned out to be troublesome.

That's why the framework development is based on interim release versions done using patch version component (e.g. 1.5.25) and official release versions where the last (patch) component is zero (e.g. 1.5.0). Please see Versioning for details.

Clone this wiki locally