Gradle build system plugin used to automate the setup of a modding environment

Weave-ified Loom

status

Getting Started

  • Make sure a JDK 17 is installed on your system.
  • To test (Windows and Unix)
java --version # should output some JDK 17.

Installation

Building with Gradle

  • git clone the project, this can be achieved by installing git, then running
git clone https://github.com/Weave-MC/Weave-Loader.git "Weave-Loader"
  • UN*X
cd $_ ; chmod +x ./gradlew && ./gradlew build

Note that $_ is the last argument from the previous command, should be run after cloning.

  • Windows
cd Weave-Loader ; .\gradlew.bat build

Usage

You can use Weave-Loader as a dependency in your project by implementing it as a repository. To do this, add the following code to your build.gradle file.

  • Groovy DSL

settings.gradle

pluginManagement {
    repositories {
        maven {
            name = 'JitPack'
            url = 'https://jitpack.io'
        }
    }
}

build.gradle

plugins {
    id "com.github.weave-mc.weave" version "ec59a8bceb"
}
  • Kotlin DSL

settins.gradle.kts

pluginManagement {
    repositories {
        maven("https://jitpack.io")
    }
}

build.gradle.kts

plugins {
    id("com.github.weave-mc.weave") version ("ec59a8bceb")
}

Replace ${VERSION} with the version of Weave-Loader in the Build Reference. (soon™️)


.

GitHub

View Github

Leave a Reply

Your email address will not be published. Required fields are marked *