Skip to content

LazuriteMC/Abacus

Repository files navigation

Abacus

GitHub Discord

The Lazurite Team's Gradle plugin. Requires loom to be applied first.

Features

When applied to the settings.gradle:

  • Adds an abacus extension with the following properties:

    • minecraftVersion: Specifies the version of Minecraft to be applied as a minecraft dependency. See here for version details.
    • fabricLoaderVersion: Specifies the version of the Fabric Loader to be applied as a modImplementation dependency. See here for version details.

When applied to a build.gradle:

  • Sets group to 'dev.lazurite'.
  • Sets java.toolchain.languageVersion to JavaLanguageVersion.of(16).
  • Adds java.withSourcesJar().
  • Adds jar.from 'LICENSE'.
  • Applies mappings loom.officialMojangMappings() as a dependency.
  • Applies minecraft 'com.mojang:minecraft:VERSION' as a dependency where VERSION is specified using the abacus extension from settings.gradle.
  • Applies modImplementation 'net.fabricmc:fabric-loader:VERSION' as a dependency where VERSION is specified using the abacus extension from settings.gradle.