Skip to content

Commit

Permalink
➕ Add Reactive Streams to JiJ
Browse files Browse the repository at this point in the history
Signed-off-by: XyperCode <xypercode@ultreon.dev>
  • Loading branch information
XyperCode committed Dec 14, 2024
1 parent 8959a54 commit c719382
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# User-specific stuff
a# User-specific stuff
.idea/

*.iml
Expand Down
3 changes: 2 additions & 1 deletion fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ dependencies {

modImplementation "maven.modrinth:modmenu:${modmenu_version}"

include implementation(group: 'io.projectreactor', name: 'reactor-core', version: '3.5.5')
include implementation('io.projectreactor:reactor-core:3.5.5')
include implementation('org.reactivestreams:reactive-streams:1.0.4')
}

loom {
Expand Down
3 changes: 2 additions & 1 deletion forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ dependencies {
implementation(fg.deobf('io.github.llamalad7:mixinextras-forge:0.4.1') { version { strictly '0.4.1' } })
annotationProcessor(group: 'io.github.llamalad7', name: 'mixinextras-forge', version: '0.4.1') { version { strictly '0.4.1' } }

jarJar minecraftLibrary(group: 'io.projectreactor', name: 'reactor-core', version: '3.5.5')
jarJar minecraftLibrary('io.projectreactor:reactor-core:3.5.5')
jarJar minecraftLibrary('org.reactivestreams:reactive-streams:1.0.4')
}

publishing {
Expand Down
9 changes: 9 additions & 0 deletions neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ dependencies {
prefer '3.5.5' // The version actually used in your dev workspace
}
}
jarJar(implementation('org.reactivestreams:reactive-streams:1.0.4')) {
version {
// The version range your mod is actually compatible with.
// Note that you may receive a *lower* version than your preferred if another
// Mod is only compatible up to 1.7.24, for example, your mod might get 1.7.24 at runtime.
strictly '[1.0.4, 1.1.0)'
prefer '1.0.4' // The version actually used in your dev workspace
}
}
clientAdditionalRuntimeClasspath group: 'io.projectreactor', name: 'reactor-core', version: '3.5.5'
serverAdditionalRuntimeClasspath group: 'io.projectreactor', name: 'reactor-core', version: '3.5.5'
dataAdditionalRuntimeClasspath group: 'io.projectreactor', name: 'reactor-core', version: '3.5.5'
Expand Down

0 comments on commit c719382

Please sign in to comment.