Official Maven Repo?
kyrptonaught opened this issue ยท 3 comments
Is your feature request related to a problem? Please describe.
The readme mentions that MidnightControls has a API for developers to use, but there is no mention of how to add the mod to your project. The build.gradle does have a publishing component, but the repo is hidden behind system env variables.
Describe the solution you'd like
Is there an official Maven Repo used by TeamMidnightDust where this could be hosted? Or at least an official method for obtaining the project?
Describe alternatives you've considered
I have tried Jitpack, but it is jank and does not succeed in building the project. In the meantime I have uploaded the project to my own repo, but an official solution would be nice.
For others with this same issue until this gets resolved, here's how you can access it from my maven:
- Add the repo:
maven { url = "https://maven.kyrptonaught.dev" }
- Add the repos for the deps MidnightControls depends on:
Line 62 in 2e86147
- Add the dependency:
modImplementation "eu.midnightdust:midnightcontrols:1.5.0-1.19"
-version 1.0.0-1.18 is also available.
The official way is to use the modrinth maven and also download all required dependencies, like I did for Automobility: https://github.com/FoundationGames/Automobility/blob/1.18.2/build.gradle
I'll make sure to add it to the README when I have time.
I added information on the required gradle configuration in the wiki: https://github.com/TeamMidnightDust/MidnightControls/wiki/Developers