Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README to include instructions for NeoForge with ModDevGradle #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,25 @@ dependencies {
```

</details>
<details><summary>NeoForge with NeoGradle</summary>
<details><summary>NeoForge</summary>

**NeoForge 20.2.84+ includes MixinExtras already.** If you want to maintain compatibility with older versions, or
want to use a different version than is provided, see below:

For NeoGradle:
```gradle
dependencies {
implementation(jarJar("io.github.llamalad7:mixinextras-neoforge:0.4.1")) {
jarJar.ranged(it, "[0.4.1,)")
}
}
```
ModDevGradle only needs the implementation line, it automatically sets the version range to `[<provided version>,)`:
```gradle
dependencies {
implementation(jarJar("io.github.llamalad7:mixinextras-neoforge:0.4.1"))
}
```

</details>
<details><summary>Forge 1.18.2+ with ForgeGradle</summary>
Expand Down