-
Notifications
You must be signed in to change notification settings - Fork 1
Importing
YTG1234 edited this page Oct 11, 2020
·
1 revision
This page explains how to import the Tiny Config library into your project.
First, you need to add the correct repository to your project.
repositories {
maven { url = "https://nexus.dyonb.nl/repository/proton/" }
}repositories {
maven {
setUrl("https://nexus.dyonb.nl/repository/proton/")
}
}Then, you need to add tiny_config as a dependency.
dependencies {
implementation "io.github.protonmc:tiny_config:version"
}dependencies {
implementation("io.github.protonmc", "tiny_config", "version")
}Bonus:
If you're making a Minecraft Fabric mod, you may want to include Tiny Config in your final mod jar file:
dependencies {
include "io.github.protonmc:tiny_config:version"
}Note: Remember to replace version with the actual latest version.