From 8a9bfa3d333e5e8573984a1ca566ec0f455557f6 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sun, 14 Apr 2024 21:16:50 -0500 Subject: [PATCH] fix unnecessary issues with javax and jetbrain compile time annotations --- .gitignore | 2 +- build.gradle | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f8cd8af3e..e876e032c 100644 --- a/.gitignore +++ b/.gitignore @@ -38,5 +38,5 @@ build.properties *.sqlite-shm *.sqlite-wal -# Don't add access transformers to git as it's dynamically generated +# Don't add access transformers to git as they're dynamically generated accesstransformer.cfg diff --git a/build.gradle b/build.gradle index 558f5b397..904a2bc1e 100644 --- a/build.gradle +++ b/build.gradle @@ -193,6 +193,10 @@ subprojects { p -> implementation("org.junit.jupiter:junit-jupiter:5.8.2") implementation("org.junit.jupiter:junit-jupiter-engine:5.8.2") implementation("junit:junit:4.13") + + // javax.annotation's (IE @Nullable) + // only needed at compile time to prevent issues between javax.annotation's and org.jetbrains.annotations + implementation("com.google.code.findbugs:jsr305:3.0.2") // JOML if (project.hasProperty("embed_joml") && embed_joml == "true")