Skip to content

Commit 540e753

Browse files
committed
fix: update kyori constraint and use our repo
1 parent c3037f0 commit 540e753

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

build-logic/src/main/kotlin/buildlogic.adapter.gradle.kts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import buildlogic.getVersion
12
import buildlogic.stringyLibs
23

34
plugins {
@@ -16,10 +17,23 @@ repositories {
1617
maven {
1718
name = "PaperMC"
1819
url = uri("https://repo.papermc.io/repository/maven-public/")
20+
content {
21+
excludeModule("io.papermc.paper", "dev-bundle")
22+
}
1923
}
2024
maven {
2125
name = "EngineHub Repository"
2226
url = uri("https://maven.enginehub.org/repo/")
27+
content {
28+
excludeModule("io.papermc.paper", "dev-bundle")
29+
}
30+
}
31+
maven {
32+
name = "IntellectualSites"
33+
url = uri("https://repo.intellectualsites.dev/repository/paper-dev-bundles/")
34+
content {
35+
includeModule("io.papermc.paper", "dev-bundle")
36+
}
2337
}
2438
mavenCentral()
2539
afterEvaluate {
@@ -32,7 +46,7 @@ dependencies {
3246
constraints {
3347
//Reduces the amount of libraries Gradle and IntelliJ need to resolve
3448
implementation("net.kyori:adventure-bom") {
35-
version { strictly("4.24.0") }
49+
version { strictly(stringyLibs.getVersion("adventure").strictVersion) }
3650
because("Ensure a consistent version of adventure is used.")
3751
}
3852
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ plotsquared = "7.5.8"
2020
bstats = "3.1.0"
2121
sparsebitset = "1.3"
2222
parallelgzip = "1.0.5"
23-
adventure = "4.24.0"
23+
adventure = "4.25.0"
2424
adventure-bukkit = "4.4.1"
2525
checkerqual = "3.51.1"
2626
truezip = "6.8.4"

0 commit comments

Comments
 (0)