Minecraft mod that bundles Arrow for ease-of-use and installation.
Simply add it as a dependency to your Gradle project like so:
repositories {
mavenCentral()
maven {
name = 'Gay Maven'
url = 'https://maven.is-immensely.gay/nightly'
}
}
dependencies {
def variantAttribute = Attribute.of('earth.terrarium.cloche.modLoader', String)
// or modImplementation
implementation('xyz.naomieow:marrow:2.1.2') {
attributes {
// "fabric" for fabric
// "forge" for forge
// "neoforge" for neoforge
attribute variantAttribute, 'fabric'
}
}
}
repositories {
mavenCentral()
maven("https://maven.is-immensely.gay/nightly")
}
dependencies {
val variantAttribute = Attribute.of("earth.terrarium.cloche.modLoader", String::class.java)
modImplementation("xyz.naomieow:marrow:2.1.2") {
attributes {
// "fabric" for fabric
// "forge" for forge
// "neoforge" for neoforge
attribute(variantAttribute, "fabric")
}
}
}
repositories {
mavenCentral()
maven("https://maven.is-immensely.gay/nightly")
}
common {
dependencies {
modImplementation("xyz.naomieow:marrow:2.1.2")
}
}
And then you should have access to Arrow in your project:
val example: Either<String, Int> = Either.Left("Hello world!")
Marrow tracks the upstream version of Arror, which is why the initial release is tagged as version 2.1.2. If you ever find Marrow to be outdated, please create an issue or contact me on Discord.
io.arrow-kt:arrow-coreio.arrow-kt:arrow-core-serializationio.arrow-kt:arrow-fx-coroutinesio.arrow-kt:arrow-fx-stmio.arrow-kt:arrow-annotationsio.arrow-kt:arrow-atomicio.arrow-kt:arrow-collectorsio.arrow-kt:arrow-opticsio.arrow-kt:arrow-resilience