Skip to content

lavalink-devs/lavalink-gradle-plugin

Repository files navigation

Lavalink Gradle Plugin

Download

Gradle plugin which makes it easier to create Lavalink plugins

Usage

plugins {
    java
    id("dev.arbjerg.lavalink.gradle-plugin") version "{latest.version}"
}

group = "dev.arbjerg.lavalink.example"
version = "1.0.0"

lavalinkPlugin {
    apiVersion = "4.0.0-beta.1"
}

Building the plugin

Running ./gradlew jar will output a plugin jar to build/libs

Running the Plugin

Running ./gradlew runLavalink will run a test server with your plugin installed

Example Project

You can find and example project here