-
-
Notifications
You must be signed in to change notification settings - Fork 822
Feature: 26.1, API 2.10.0 #6271
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
base: master
Are you sure you want to change the base?
Changes from 28 commits
5f9fbe3
58c6603
4d09ef6
09c7cdd
95a2a7b
effb253
fe1a9f9
5dfd49d
3a72865
ee5f111
3b0c9c7
6706c63
f6716f8
7d5d912
dbc4142
1f5329e
7ae010d
e46f28c
082ba3a
df97c0d
f5c539c
9ef0cb8
722abe6
436a9b8
1d96860
3e41ca6
398401f
65fe71c
42488f1
ccafa76
248b60f
61fce61
ff522d0
4c163b8
0b12ed2
b41177d
1827f52
cc7ffe9
c8091af
8455403
80eb8bd
dfb4838
cb97672
2385729
07a5757
b7847c5
0a22e8e
7f8dff2
5e3089c
f4021dc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -19,10 +19,10 @@ loom { | |||||
| } | ||||||
|
|
||||||
| dependencies { | ||||||
| modImplementation(libs.fabric.loader) | ||||||
| modApi(libs.fabric.api) | ||||||
| implementation(libs.fabric.loader) | ||||||
| api(libs.fabric.api) | ||||||
|
|
||||||
| api(project(":mod", configuration = "namedElements")) | ||||||
| api(project(":mod")) | ||||||
| shadowBundle(project(path = ":mod", configuration = "transformProductionFabric")) | ||||||
| shadowBundle(projects.core) | ||||||
| includeTransitive(projects.core) | ||||||
|
|
@@ -47,7 +47,7 @@ dependencies { | |||||
| shadowBundle(projects.api) | ||||||
| shadowBundle(projects.common) | ||||||
|
|
||||||
| modImplementation(libs.cloud.fabric) | ||||||
| implementation(libs.cloud.fabric) | ||||||
| include(libs.cloud.fabric) | ||||||
| include(libs.fabric.permissions.api) | ||||||
| } | ||||||
|
|
@@ -61,22 +61,25 @@ relocate("org.cloudburstmc.protocol") | |||||
| relocate("org.spongepowered.configurate") | ||||||
|
|
||||||
| tasks { | ||||||
| remapJar { | ||||||
| named<Jar>("mergeShadowAndJarJar") { | ||||||
| from ( | ||||||
| zipTree( shadowJar.map { it.outputs.files.singleFile } ).matching { | ||||||
| exclude("fabric.mod.json") | ||||||
| exclude("LICENSE") | ||||||
| }, | ||||||
| zipTree( jar.map { it.outputs.files.singleFile } ).matching { | ||||||
| include("META-INF/jars/**") | ||||||
| include("fabric.mod.json") | ||||||
| include("LICENSE") | ||||||
| } | ||||||
| ) | ||||||
| archiveBaseName.set("Geyser-Fabric") | ||||||
| } | ||||||
|
|
||||||
| remapModrinthJar { | ||||||
| archiveBaseName.set("geyser-fabric") | ||||||
| } | ||||||
|
|
||||||
| shadowJar { | ||||||
| mergeServiceFiles() | ||||||
| } | ||||||
| } | ||||||
|
|
||||||
| modrinth { | ||||||
| loaders.add("fabric") | ||||||
| uploadFile.set(tasks.getByPath("remapModrinthJar")) | ||||||
| uploadFile.set(tasks.getByName("renameModrinthJar")) | ||||||
|
||||||
| uploadFile.set(tasks.getByName("renameModrinthJar")) | |
| uploadFile.set(tasks.named<Jar>("mergeShadowAndJarJar")) |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -33,7 +33,7 @@ dependencies { | |||||
|
|
||||||
| neoForge(libs.neoforge.minecraft) | ||||||
|
|
||||||
| api(project(":mod", configuration = "namedElements")) | ||||||
| api(project(":mod")) | ||||||
| shadowBundle(project(path = ":mod", configuration = "transformProductionNeoForge")) | ||||||
| shadowBundle(projects.core) | ||||||
|
|
||||||
|
|
@@ -51,7 +51,7 @@ dependencies { | |||||
| // Include all transitive deps of core via JiJ | ||||||
| includeTransitive(projects.core) | ||||||
|
|
||||||
| modImplementation(libs.cloud.neoforge) | ||||||
| implementation(libs.cloud.neoforge) | ||||||
| include(libs.cloud.neoforge) | ||||||
| } | ||||||
|
|
||||||
|
|
@@ -62,20 +62,22 @@ tasks.withType<Jar> { | |||||
| } | ||||||
|
|
||||||
| tasks { | ||||||
| remapJar { | ||||||
| named<Jar>("mergeShadowAndJarJar") { | ||||||
| from ( | ||||||
| zipTree( shadowJar.map { it.outputs.files.singleFile } ).matching { | ||||||
| exclude("LICENSE") | ||||||
| }, | ||||||
| zipTree( jar.map { it.outputs.files.singleFile } ).matching { | ||||||
| include("META-INF/jars/**") | ||||||
| include("META-INF/jarjar/**") | ||||||
| include("LICENSE") | ||||||
| } | ||||||
| ) | ||||||
| archiveBaseName.set("Geyser-NeoForge") | ||||||
| } | ||||||
|
|
||||||
| remapModrinthJar { | ||||||
| archiveBaseName.set("geyser-neoforge") | ||||||
| } | ||||||
|
|
||||||
| shadowJar { | ||||||
| mergeServiceFiles() | ||||||
| } | ||||||
| } | ||||||
|
|
||||||
| modrinth { | ||||||
| loaders.add("neoforge") | ||||||
| uploadFile.set(tasks.getByPath("remapModrinthJar")) | ||||||
| uploadFile.set(tasks.getByName("renameModrinthJar")) | ||||||
|
||||||
| uploadFile.set(tasks.getByName("renameModrinthJar")) | |
| uploadFile.set(tasks.named<Jar>("mergeShadowAndJarJar")) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,7 +17,7 @@ indra { | |
| mitLicense() | ||
|
|
||
| javaVersions { | ||
| target(17) | ||
| target(21) | ||
| } | ||
| } | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.