Add compileOnlyApi dependency for JetBrains annotations

This commit is contained in:
Overlord committed 2026-10-07 10:42:57 +02:00
1 parent 7b721490cb
commit 36ac320c9c
1 file changed
+3
+3
View File
@@ -32,6 +32,9 @@ publishing {
}
dependencies {
// Published as a compile-time dependency, so mods see the API's annotations; never in their lib/.
compileOnlyApi(libs.jetbrains.annotations)
testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
testRuntimeOnly(libs.junit.platform.launcher)