Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ val supportedMinecraftVersions = listOf(
"1.21.7",
"1.21.8",
"1.21.9",
"1.21.10"
"1.21.10",
"1.21.11",
"26.0",
"26.1",
"26.1.1",
"26.1.2"
)
allprojects {
apply {
Expand All @@ -46,7 +51,7 @@ allprojects {

configure<JavaPluginExtension> {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
languageVersion.set(JavaLanguageVersion.of(25))
}
}

Expand All @@ -64,7 +69,6 @@ dependencies {
implementation(libs.cloud.command.extras)
implementation(libs.cloud.command.annotations)
implementation(libs.semver)
implementation(libs.adventure.text.feature.pagination)
implementation(libs.adventure.text.discord)
implementation(libs.jda.webhook)
implementation(libs.customblockdata)
Expand Down
14 changes: 6 additions & 8 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ dependencyResolutionManagement {
create("libs") {
version("modrinth", "2.+")
version("hangar", "0.1.4")
version("paper.yml", "0.6.0")
version("paper.yml", "0.9.0")
version("paper.run", "3.0.2")
version("shadowJar", "9.3.0")
version("shadowJar", "9.4.2")
version("cyclonedx", "3.1.0")

version("paper", "1.21.8-R0.1-SNAPSHOT")
version("paper", "26.1.2.build.+")
version("bstats", "3.1.0")
version("customblockdata", "2.2.5")

Expand All @@ -32,7 +32,6 @@ dependencyResolutionManagement {
version("cloudcommandAnnotations", "2.0.0")
version("cloudcommandExtras", "2.0.0-SNAPSHOT")

version("adventure-text-feature-pagination", "4.0.0-SNAPSHOT")
version("adventure-text-discord-serializer", "4.4.0")
version("jda", "5.6.1")
version("jda-webhook", "0.8.4")
Expand All @@ -49,14 +48,14 @@ dependencyResolutionManagement {

// WorldGuard
version("wgv6", "6.2")
version("wgv7", "7.0.14")
version("wgv7", "7.0.17")
library("wg6", "com.sk89q.worldguard", "worldguard-legacy").versionRef("wgv6")
library("wg7", "com.sk89q.worldguard", "worldguard-bukkit").versionRef("wgv7")

// PlotSquared
version("psv4", "4.453")
version("psv6", "1.52")
version("psv7", "1.55")
version("psv7", "1.56")

library("psv4.core", "com.github.IntellectualSites.PlotSquared","Core").versionRef("psv4")
library("psv4.bukkit", "com.github.IntellectualSites.PlotSquared","Bukkit").versionRef("psv4")
Expand All @@ -69,7 +68,6 @@ dependencyResolutionManagement {
library("psv7.bukkit", "com.intellectualsites.plotsquared","plotsquared-bukkit").withoutVersion()

library("paper", "io.papermc.paper", "paper-api").versionRef("paper")
library("adventure.text.feature.pagination", "net.kyori", "adventure-text-feature-pagination").versionRef("adventure-text-feature-pagination")
library("adventure.text.discord", "dev.vankka", "mcdiscordreserializer").versionRef("adventure-text-discord-serializer")
library("jda-webhook", "club.minnced", "discord-webhooks").versionRef("jda-webhook")
library("bstats", "org.bstats", "bstats-bukkit").versionRef("bstats")
Expand All @@ -93,7 +91,7 @@ dependencyResolutionManagement {

plugin("modrinth", "com.modrinth.minotaur").versionRef("modrinth")
plugin("hangar", "io.papermc.hangar-publish-plugin").versionRef("hangar")
plugin("paper.yml", "net.minecrell.plugin-yml.paper").versionRef("paper.yml")
plugin("paper.yml", "de.eldoria.plugin-yml.paper").versionRef("paper.yml")
plugin("paper.run", "xyz.jpenilla.run-paper").versionRef("paper.run")
plugin("shadowJar", "com.gradleup.shadow").versionRef("shadowJar")
plugin("cyclonedx", "org.cyclonedx.bom").versionRef("cyclonedx")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package net.onelitefeather.antiredstoneclockremastered.commands;

import jakarta.inject.Inject;
import jakarta.inject.Named;
import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.feature.pagination.Pagination;
import net.onelitefeather.antiredstoneclockremastered.AntiRedstoneClockRemastered;
import net.onelitefeather.antiredstoneclockremastered.model.RedstoneClock;
import net.onelitefeather.antiredstoneclockremastered.service.api.RedstoneTrackingService;
import net.onelitefeather.antiredstoneclockremastered.text.Pagination;
import org.bukkit.command.CommandSender;
import org.incendo.cloud.annotation.specifier.Greedy;
import org.incendo.cloud.annotations.Argument;
Expand Down
Loading
Loading