chore: update dependencies to latest versions
- Paper API: 1.21 → 1.21.4 - commons-io: 2.17.0 → 2.18.0 (security fixes) - JUnit: 5.10.0 → 5.11.4 - Kotest: 5.7.2 → 5.9.1 - Mockito: 5.7.0 → 5.14.2 - Oraxen: 1.171.0 → 1.180.0 - ItemsAdder: 3.6.1 → 3.6.4 - Added explicit Adventure API dependencies (4.17.0) - Removed deprecated mockito-inline
This commit is contained in:
parent
bd32b9fab2
commit
429ca8a136
2 changed files with 22 additions and 19 deletions
|
|
@ -28,31 +28,34 @@ if (lolibTree.files.isEmpty()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// Paper API 1.21
|
// Paper API 1.21.4 (includes Adventure API)
|
||||||
compileOnly("io.papermc.paper:paper-api:1.21-R0.1-SNAPSHOT")
|
compileOnly("io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT")
|
||||||
|
|
||||||
// LoAPI (local)
|
// LoAPI (local)
|
||||||
implementation(lolibTree)
|
implementation(lolibTree)
|
||||||
|
|
||||||
// Runtime dependencies (loaded via DependencyManager from LoAPI)
|
// Runtime dependencies (loaded via DependencyManager from LoAPI)
|
||||||
// These are marked as compileOnly because they will be downloaded at runtime
|
// These are marked as compileOnly because they will be downloaded at runtime
|
||||||
compileOnly("org.apache.commons:commons-math3:3.6.1")
|
compileOnly("org.apache.commons:commons-math3:3.6.1")
|
||||||
compileOnly("commons-io:commons-io:2.17.0")
|
compileOnly("commons-io:commons-io:2.18.0")
|
||||||
|
|
||||||
|
// Adventure API (included in Paper, but explicit for clarity)
|
||||||
|
compileOnly("net.kyori:adventure-api:4.17.0")
|
||||||
|
compileOnly("net.kyori:adventure-text-minimessage:4.17.0")
|
||||||
|
|
||||||
// Optional plugin integrations (soft dependencies)
|
// Optional plugin integrations (soft dependencies)
|
||||||
compileOnly("com.github.oraxen:oraxen:1.171.0")
|
compileOnly("com.github.oraxen:oraxen:1.180.0")
|
||||||
compileOnly("com.github.LoneDev6:api-itemsadder:3.6.1")
|
compileOnly("com.github.LoneDev6:api-itemsadder:3.6.4")
|
||||||
|
|
||||||
// Test dependencies
|
// Test dependencies
|
||||||
testImplementation("org.junit.jupiter:junit-jupiter:5.10.0")
|
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
|
||||||
testImplementation("io.kotest:kotest-runner-junit5:5.7.2")
|
testImplementation("io.kotest:kotest-runner-junit5:5.9.1")
|
||||||
testImplementation("io.kotest:kotest-assertions-core:5.7.2")
|
testImplementation("io.kotest:kotest-assertions-core:5.9.1")
|
||||||
testImplementation("io.kotest:kotest-property:5.7.2")
|
testImplementation("io.kotest:kotest-property:5.9.1")
|
||||||
testImplementation("org.mockito:mockito-core:5.7.0")
|
testImplementation("org.mockito:mockito-core:5.14.2")
|
||||||
testImplementation("org.mockito:mockito-inline:5.2.0")
|
testImplementation("io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT")
|
||||||
testImplementation("io.papermc.paper:paper-api:1.21-R0.1-SNAPSHOT")
|
|
||||||
testImplementation("org.apache.commons:commons-math3:3.6.1")
|
testImplementation("org.apache.commons:commons-math3:3.6.1")
|
||||||
testImplementation("commons-io:commons-io:2.17.0")
|
testImplementation("commons-io:commons-io:2.18.0")
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
|
|
|
||||||
|
|
@ -100,9 +100,9 @@ public final class LoMinesPlugin extends LoPlugin {
|
||||||
protected void dependencies(DependencyManager dependencyManager) {
|
protected void dependencies(DependencyManager dependencyManager) {
|
||||||
// Load Apache Commons Math3 for EnumeratedDistribution
|
// Load Apache Commons Math3 for EnumeratedDistribution
|
||||||
dependencyManager.add("org.apache.commons", "commons-math3", "3.6.1");
|
dependencyManager.add("org.apache.commons", "commons-math3", "3.6.1");
|
||||||
|
|
||||||
// Load Apache Commons IO for file utilities
|
// Load Apache Commons IO for file utilities
|
||||||
dependencyManager.add("commons-io", "commons-io", "2.17.0");
|
dependencyManager.add("commons-io", "commons-io", "2.18.0");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue