Adding - Glass-Series/glass-config-api GitHub Wiki
Adding Glass Config API
You want to use GCAPI to handle your mod config? Great!
- Go into your
gradle.properties
and add a new line:gcapi_version=2.0.0
- Go into your
build.gradle
and go into yourdependencies
block, and add
modImplementation("net.glasslauncher.mods:GlassConfigAPI:${project.gcapi_version}") {
transitive false
}
- Reload gradle.
- (IntelliJ) Open the gradle tab in the top right, and press the circle
Reload All Gradle Projects
button.
- (IntelliJ) Open the gradle tab in the top right, and press the circle
- You have added GCAPI to your workspace. For the next steps, see Using.