From a3b1b83f6bd1b58a0d911166e17cb7f45009a4ff Mon Sep 17 00:00:00 2001 From: topi314 Date: Sun, 13 Oct 2024 20:06:20 +0200 Subject: [PATCH] drop lavalink v3 support --- README.md | 15 +-------------- plugin/build.gradle.kts | 4 ++-- settings.gradle.kts | 2 +- 3 files changed, 4 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 20878d4..38c17d7 100644 --- a/README.md +++ b/README.md @@ -99,23 +99,10 @@ YoutubeAudioSourceManager youtube = new YoutubeAudioSourceManager(/*allowSearch: ``` ## plugin -This module serves as the plugin for use with [Lavalink](https://github.com/lavalink-devs/Lavalink). +This module serves as the plugin for use with [Lavalink v4](https://github.com/lavalink-devs/Lavalink). To use this plugin with Lavalink, you must declare the dependency. -
-Using with Lavalink v3: - -```yaml -lavalink: - plugins: - # Replace VERSION with the current version as shown by the Releases tab or a long commit hash for snapshots. - - dependency: "dev.lavalink.youtube:youtube-plugin:VERSION" - repository: "https://maven.lavalink.dev/releases" # use https://maven.lavalink.dev/snapshots if you want to use a snapshot version. -``` - -
-
Using with Lavalink v4: diff --git a/plugin/build.gradle.kts b/plugin/build.gradle.kts index a93db8e..7f0f976 100644 --- a/plugin/build.gradle.kts +++ b/plugin/build.gradle.kts @@ -32,8 +32,8 @@ dependencies { } java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } mavenPublishing { diff --git a/settings.gradle.kts b/settings.gradle.kts index fc8e323..35ee9f6 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -15,7 +15,7 @@ dependencyResolutionManagement { library("lavaplayer-v1", "dev.arbjerg", "lavaplayer").versionRef("lavaplayer-v1") library("lavaplayer-v2", "dev.arbjerg", "lavaplayer").versionRef("lavaplayer-v2") - version("lavalink", "3.7.11") + version("lavalink", "4.0.7") library("lavalink-server", "dev.arbjerg.lavalink", "Lavalink-Server").versionRef("lavalink") library("lavaplayer-ext-youtube-rotator", "dev.arbjerg", "lavaplayer-ext-youtube-rotator").versionRef("lavaplayer-v1")