Skip to content
rawr edited this page Feb 10, 2022 · 2 revisions

Different DSL's

There are several DSLs, but for this project I decided to opt for Groovy DSL.

Example build.gradle Format

def versionPlatform = "a92ba104e6" // this is the version of the command api you're using - releases can be used, or commit hash.
def platforms = [ // these are all the platforms you want to use. current available platforms are [bukkit, shared, kord]
        "shared"
]

repositories {
    maven {
        url "https://jitpack.io"
    }
}

dependencies {
    platforms.forEach {
        implementation "com.github.devrawr.commands:${it}:${versionPlatform}"
    }
}

Clone this wiki locally