-
-
Notifications
You must be signed in to change notification settings - Fork 22
For Developers
mortuusars edited this page Jul 19, 2024
·
2 revisions
You can automatically download Exposure for your mod project using Gradle.
Add the following to your build script (build.gradle
):
repositories {
maven {
name = "Mortuusars Github Maven"
url = "https://raw.githubusercontent.com/mortuusars/resources/main/maven/"
}
}
dependencies {
/* other minecraft dependencies are here */
modImplementation("io.github.mortuusars.exposure:exposure-<platform>:<exposure_version>")
}
If you're using multiplatform setup (like does Exposure), you'll need to add the dependencies for all platforms.
<platform>
- common / forge / fabric
<exposure_version>
- available versions can be seen on CurseForge/Modrinth (starting from 1.7.3)