Skip to content

Developers

Martin Prokoph edited this page Oct 27, 2022 · 1 revision

Adding MidnightControls to your development envionment

To add compatibility for your mods, just edit build.gradle and gradle.properties as seen below:

build.gradle

repositories {
  [... other repos ...]
  maven { url = "https://api.modrinth.com/maven" }
  maven { url = "https://aperlambda.github.io/maven" }
}

dependencies {
  [... other dependencies ...]
  modImplementation "dev.lambdaurora:spruceui:${project.spruceui_version}"
  modImplementation "maven.modrinth:midnightlib:${project.midnightlib_version}"
  modImplementation "maven.modrinth:midnightcontrols:${project.midnightcontrols_version}"
  api('org.aperlambda:lambdajcommon:1.8.1') {
        exclude group: 'com.google.code.gson'
        exclude group: 'com.google.guava'
  } }

gradle.properties

midnightcontrols_version=1.7.1+1.19
midnightlib_version=0.6.1
spruceui_version=4.0.0+1.19

Clone this wiki locally