Update to 26.2

This commit is contained in:
Len 2026-07-27 02:14:13 -05:00
parent e600cc7331
commit 9143642761
5 changed files with 13 additions and 10 deletions

View File

@ -1,6 +1,6 @@
plugins { plugins {
`java-library` `java-library`
id("io.github.goooler.shadow") version "8.1.8" id("com.gradleup.shadow") version "9.6.1"
id("com.github.ben-manes.versions") version "0.52.0" id("com.github.ben-manes.versions") version "0.52.0"
} }
@ -15,7 +15,7 @@ subprojects {
java { java {
toolchain { toolchain {
languageVersion.set(JavaLanguageVersion.of(21)) languageVersion.set(JavaLanguageVersion.of(25))
} }
} }

View File

@ -1,6 +1,6 @@
plugins { plugins {
`maven-publish` `maven-publish`
id("io.github.goooler.shadow") id("com.gradleup.shadow")
} }
val nexusUser = providers.gradleProperty("alttdSnapshotUsername").orNull ?: System.getenv("NEXUS_USERNAME") val nexusUser = providers.gradleProperty("alttdSnapshotUsername").orNull ?: System.getenv("NEXUS_USERNAME")
@ -8,9 +8,7 @@ val nexusPass = providers.gradleProperty("alttdSnapshotPassword").orNull ?: Syst
dependencies { dependencies {
implementation(project(":api")) // API implementation(project(":api")) // API
compileOnly("com.alttd.cosmos:cosmos-api:1.21.8-R0.1-SNAPSHOT") { compileOnly("com.alttd.cosmos:cosmos-api:26.2.build.17-stable")
isChanging = true
}
compileOnly("org.projectlombok:lombok:1.18.46") compileOnly("org.projectlombok:lombok:1.18.46")
annotationProcessor("org.projectlombok:lombok:1.18.46") annotationProcessor("org.projectlombok:lombok:1.18.46")
compileOnly("com.gitlab.ruany:LiteBansAPI:0.6.1") // move to proxy compileOnly("com.gitlab.ruany:LiteBansAPI:0.6.1") // move to proxy

View File

@ -119,8 +119,7 @@ public class NicknamesEvents implements Listener, PluginMessageListener {
switch (subChannel) { switch (subChannel) {
case "NickNameRequest": case "NickNameRequest":
ComponentLike component = miniMessage.deserialize(Config.NICK_REQUEST_NEW, Placeholder.parsed("player", name)) ComponentLike component = miniMessage.deserialize(Config.NICK_REQUEST_NEW, Placeholder.parsed("player", name))
.clickEvent(ClickEvent.clickEvent(ClickEvent.Action.RUN_COMMAND, .clickEvent(ClickEvent.runCommand("/nick review"))
"/nick review"))
.hoverEvent(HoverEvent.hoverEvent(HoverEvent.Action.SHOW_TEXT, .hoverEvent(HoverEvent.hoverEvent(HoverEvent.Action.SHOW_TEXT,
miniMessage.deserialize("<gold>Click this text to review the request!"))); miniMessage.deserialize("<gold>Click this text to review the request!")));

View File

@ -19,13 +19,19 @@ dependencyResolutionManagement {
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/") // Papi maven("https://repo.extendedclip.com/content/repositories/placeholderapi/") // Papi
maven("https://jitpack.io") maven("https://jitpack.io")
maven { maven {
name = "nexus"
url = uri("https://repo.alttd.com/repository/alttd-snapshot/") url = uri("https://repo.alttd.com/repository/alttd-snapshot/")
credentials { credentials {
username = nexusUser username = nexusUser
password = nexusPass password = nexusPass
} }
} }
maven {
url = uri("https://repo.alttd.com/repository/alttd/")
credentials {
username = nexusUser
password = nexusPass
}
}
} }
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
} }

View File

@ -1,6 +1,6 @@
plugins { plugins {
`maven-publish` `maven-publish`
id("io.github.goooler.shadow") id("com.gradleup.shadow")
} }
dependencies { dependencies {