Depending On Extended Bogeys - Rabbitminers/Extended-Bogeys GitHub Wiki
To easily integrate Extended Bogeys into a new project you can use our template HereTODO with Create, Flywheel, Registrate, Sponge and JEI setup. If you have an existing project and wish to integrate Extended Bogeys you can do so like this:
Extended bogeys is will will be hosted on Curse Maven to integrate it into your project. First you will need to declare the Curse Maven repository in build.gradle
like so:
// /build.gradle
repositories {
maven {
name = 'curse maven'
url = 'https://cursemaven.com'
}
}
Add the following within the dependencies
block of build.gradle
to define Extended Bogeys as a dependency.
// /build.gradle
dependencies {
implementation fg.deobf(curse.maven:extendedbogeys-${extended_bogeys_project_id}:${extended_bogeys_file_id})
}
And add the following properties to gradle.properties
, if you want to depend on a specific version of extended bogeys instructions for finding file and project id's can be found Here
// /gradle.properties
extended_bogeys_project_id = TODO
extended_bogeys_file_id = TODO
Please note you will also need to integrate Create and its dependencies with your project, if you have not done so already follow the Depending On Create page from the Wiki
To provide a warning/error when Extended Bogeys is not installed or has the wrong version in production add a dependency to mods.toml
so that the Mod Loader is aware that your mod depends on Extented Bogeys and to raise an error if it is not present, this can be done like so:
# resources/META-INF/mods.toml
[[dependencies.yourmodid]]
modId="extendedbogeys"
mandatory=true
versionRange="[1.0.0,)"
ordering="NONE"
side="BOTH"