mirror of
https://github.com/Myxelium/Jellylink.git
synced 2026-04-13 11:40:38 +00:00
Jellylink plugin init
This commit is contained in:
38
build.gradle.kts
Normal file
38
build.gradle.kts
Normal file
@@ -0,0 +1,38 @@
|
||||
plugins {
|
||||
kotlin("jvm") version "1.8.22"
|
||||
`java-library`
|
||||
}
|
||||
|
||||
group = "dev.jellylink"
|
||||
version = "0.1.0"
|
||||
|
||||
repositories {
|
||||
// Lavalink / Lavaplayer artifacts
|
||||
maven("https://maven.lavalink.dev/releases")
|
||||
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// Lavalink plugin API (adjust version to match your Lavalink server)
|
||||
compileOnly("dev.arbjerg.lavalink:plugin-api:4.0.8")
|
||||
|
||||
// Lavaplayer (provided by Lavalink at runtime; keep as compileOnly)
|
||||
compileOnly("dev.arbjerg:lavaplayer:2.2.2")
|
||||
|
||||
// Spring annotations (provided by Lavalink, but needed for compilation)
|
||||
compileOnly("org.springframework.boot:spring-boot-starter-web:3.1.0")
|
||||
|
||||
// JSON types used by the plugin API
|
||||
compileOnly("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0")
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(17))
|
||||
}
|
||||
}
|
||||
|
||||
kotlin {
|
||||
jvmToolchain(17)
|
||||
}
|
||||
Reference in New Issue
Block a user