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

[owo] Update build gradle info with arch fixes and common setup #21

Open
wants to merge 1 commit into
base: main
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
23 changes: 22 additions & 1 deletion docs/owo/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,34 @@ Then, declare the dependency inside your `dependencies` block and as well as the
=== "build.gradle (Neoforge)"
```groovy
dependencies {
// Moddev Projects - Neoforge
// Vanilla/Moddev Projects - Neoforge
implementation "io.wispforest:owo-lib-neoforge:${project.owo_version}"
accessTransformer "io.wispforest:owo-lib-neoforge:${project.owo_version}"
interfaceInjectionData "io.wispforest:owo-lib-neoforge:${project.owo_version}"

// Arch Loom Projects - Neoforge
modImplementation "io.wispforest:owo-lib-neoforge:${project.owo_version}"

// Required due to issues with Arch Loom and JIJ within neo. May require bumping the version every once and awhile.
forgeRuntimeLibrary("io.wispforest:endec:0.1.8")
forgeRuntimeLibrary("io.wispforest.endec:netty:0.1.4")
forgeRuntimeLibrary("io.wispforest.endec:gson:0.1.5")
forgeRuntimeLibrary("io.wispforest.endec:jankson:0.1.5")
forgeRuntimeLibrary("blue.endless:jankson:1.2.2")
}
```

=== "build.gradle (Common)"
```groovy
dependencies {
// Moddev Projects - Neoforge
compileOnly "io.wispforest:owo-lib-neoforge:${project.owo_version}"
accessTransformer "io.wispforest:owo-lib-neoforge:${project.owo_version}"
interfaceInjectionData "io.wispforest:owo-lib-neoforge:${project.owo_version}"

// Arch Loom Projects - Neoforge
// Don't worry about loading issues as it will only be present to get the arch interface injection and Access Widener
modImplementation "io.wispforest:owo-lib-fabric:${project.owo_version}"
}
```

Expand Down