How to add a dependency to Maven
Add the following top.hendrixshen.magiclib : magiclib-minecraft-api-1.18.2-forge maven dependency to the pom.xml
file with your favorite IDE (IntelliJ / Eclipse / Netbeans):
<dependency>
<groupId>top.hendrixshen.magiclib</groupId>
<artifactId>magiclib-minecraft-api-1.18.2-forge</artifactId>
<version>0.6.52-beta</version>
</dependency>
How to add a dependency to Gradle
Gradle Groovy DSL: Add the following top.hendrixshen.magiclib : magiclib-minecraft-api-1.18.2-forge gradle dependency to your build.gradle
file:
implementation 'top.hendrixshen.magiclib:magiclib-minecraft-api-1.18.2-forge:0.6.52-beta'
Gradle Kotlin DSL: Add the following top.hendrixshen.magiclib : magiclib-minecraft-api-1.18.2-forge gradle kotlin dependency to your build.gradle.kts
file:
implementation("top.hendrixshen.magiclib:magiclib-minecraft-api-1.18.2-forge:0.6.52-beta")
How to add a dependency to SBT Scala
SBT Scala: Add the following top.hendrixshen.magiclib : magiclib-minecraft-api-1.18.2-forge sbt scala dependency to your build.sbt
file:
libraryDependencies += "top.hendrixshen.magiclib" % "magiclib-minecraft-api-1.18.2-forge" % "0.6.52-beta"