Skip to content

For Developers

mortuusars edited this page Jul 19, 2024 · 2 revisions

Depending on Exposure:

You can automatically download Exposure for your mod project using Gradle.
Add the following to your build script (build.gradle):

Repositories

repositories {
  maven {
    name = "Mortuusars Github Maven"
    url = "https://raw.githubusercontent.com/mortuusars/resources/main/maven/"
  }
}

Dependency

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)

Clone this wiki locally