forked from PaperMC/Paper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix broken joml metadata resulting in kotlin being included on compil…
…e/runtime classpath (PaperMC#11712)
- Loading branch information
Showing
12 changed files
with
37 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ Co-authored-by: Jake Potrebic <[email protected]> | |
Co-authored-by: Yannick Lamprecht <[email protected]> | ||
|
||
diff --git a/build.gradle.kts b/build.gradle.kts | ||
index 2229758d9da373519a42f58e4ca17120c5272530..1860fc52cb7de590184b828d615ff75683ae69ca 100644 | ||
index 3667f27baa87c82e071cc14ca20491d38feee255..73aaa8a341565626556327cda6a73f98c318863a 100644 | ||
--- a/build.gradle.kts | ||
+++ b/build.gradle.kts | ||
@@ -11,6 +11,18 @@ java { | ||
|
@@ -36,15 +36,15 @@ index 2229758d9da373519a42f58e4ca17120c5272530..1860fc52cb7de590184b828d615ff756 | |
dependencies { | ||
// api dependencies are listed transitively to API consumers | ||
api("com.google.guava:guava:33.3.1-jre") | ||
@@ -44,6 +56,7 @@ dependencies { | ||
@@ -46,6 +58,7 @@ dependencies { | ||
testImplementation("org.hamcrest:hamcrest:2.2") | ||
testImplementation("org.mockito:mockito-core:5.14.1") | ||
testImplementation("org.ow2.asm:asm-tree:9.7.1") | ||
+ mockitoAgent("org.mockito:mockito-core:5.14.1") { isTransitive = false } // Paper - configure mockito agent that is needed in newer java versions | ||
} | ||
|
||
configure<PublishingExtension> { | ||
@@ -105,8 +118,19 @@ tasks.withType<Javadoc> { | ||
@@ -107,8 +120,19 @@ tasks.withType<Javadoc> { | ||
|
||
tasks.test { | ||
useJUnitPlatform() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ Co-authored-by: Jake Potrebic <[email protected]> | |
Co-authored-by: Yannick Lamprecht <[email protected]> | ||
|
||
diff --git a/build.gradle.kts b/build.gradle.kts | ||
index 6457e9e11620b9b77f067e2d45d7fb45235f23d3..64f7695cf37e9e60712f8b56d3aee0256e71c8e6 100644 | ||
index e1acfa9abed37e5332edf6b6cf66e3b9b926b366..ed5d58d7569300c917dd52b11953a63fae6878d4 100644 | ||
--- a/build.gradle.kts | ||
+++ b/build.gradle.kts | ||
@@ -11,6 +11,18 @@ java { | ||
|
@@ -41,9 +41,9 @@ index 6457e9e11620b9b77f067e2d45d7fb45235f23d3..64f7695cf37e9e60712f8b56d3aee025 | |
+ } | ||
+ // Paper - adventure | ||
api("org.yaml:snakeyaml:2.2") | ||
api("org.joml:joml:1.10.8") | ||
// Paper start | ||
@@ -36,6 +52,13 @@ dependencies { | ||
api("org.joml:joml:1.10.8") { | ||
isTransitive = false // https://github.com/JOML-CI/JOML/issues/352 | ||
@@ -38,6 +54,13 @@ dependencies { | ||
isTransitive = false // includes junit | ||
} | ||
api("it.unimi.dsi:fastutil:8.5.15") | ||
|
@@ -57,7 +57,7 @@ index 6457e9e11620b9b77f067e2d45d7fb45235f23d3..64f7695cf37e9e60712f8b56d3aee025 | |
// Paper end | ||
|
||
compileOnly("org.apache.maven:maven-resolver-provider:3.9.6") | ||
@@ -113,15 +136,32 @@ tasks.withType<Javadoc> { | ||
@@ -115,15 +138,32 @@ tasks.withType<Javadoc> { | ||
"https://guava.dev/releases/33.3.1-jre/api/docs/", | ||
"https://javadoc.io/doc/org.yaml/snakeyaml/2.2/", | ||
"https://javadoc.io/doc/org.jetbrains/annotations/$annotationsVersion/", // Paper - we don't want Java 5 annotations | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ Subject: [PATCH] Brigadier based command API | |
Co-authored-by: Jake Potrebic <[email protected]> | ||
|
||
diff --git a/build.gradle.kts b/build.gradle.kts | ||
index 037b94a8b21f8f9408cd833823a1e6e48e22dcd6..8d76f0a8b6b67f0cae0b2fa23f0f79fc9fe97f30 100644 | ||
index 2b489adc50d45facd347f79c34224d347dc20a75..571534b42cd9c33d6a7bb6fe3bf3a28e33f8e5de 100644 | ||
--- a/build.gradle.kts | ||
+++ b/build.gradle.kts | ||
@@ -39,6 +39,7 @@ abstract class MockitoAgentProvider : CommandLineArgumentProvider { | ||
|
@@ -17,7 +17,7 @@ index 037b94a8b21f8f9408cd833823a1e6e48e22dcd6..8d76f0a8b6b67f0cae0b2fa23f0f79fc | |
// api dependencies are listed transitively to API consumers | ||
api("com.google.guava:guava:33.3.1-jre") | ||
api("com.google.code.gson:gson:2.11.0") | ||
@@ -106,9 +107,33 @@ sourceSets { | ||
@@ -108,9 +109,33 @@ sourceSets { | ||
} | ||
} | ||
// Paper end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters