Skip to content

Getting Started

codestech edited this page Jul 14, 2026 · 3 revisions

To use Modules, you need import it as a dependency, just like a typical Java library.

If you use Maven or Gradle, you will need to add the library to your pom.xml or build.gradle(.kts) file. Fortunately, Modules is available on Maven Central, therefore it doesn't require any complex configuration.

Examples on how to import the library are available below. All you need to do is to add one of the following configuration snippets to the actual configuration of your build tool. Then, replace the *version* placeholder with an actual version of the Modules library you wish to use.

Maven

<dependencies>
  <dependency>
    <groupId>net.hypejet</groupId>
    <artifactId>modules</artifactId>
    <version>*version*</version>
  </dependency>
</dependencies>

Gradle (Groovy)

repositories {
    mavenCentral()
}

dependencies {
    implementation 'net.hypejet:modules:*version*'
}

java {
    toolchain {
        languageVersion = JavaLanguageVersion.of(25) // Modules requires Java 25
    }
}

Gradle (Kotlin)

repositories {
    mavenCentral()
}

dependencies {
    implementation("net.hypejet:modules:*version*")
}

java {
    toolchain {
        languageVersion.set(JavaLanguageVersion.of(25)) // Modules requires Java 25
    }
}

Post-setup

After you have setup your build tool to use our library, head to Creating your first module.

Clone this wiki locally