From 7730e3ebee2044b0c59cc40f0aae58cb1f9ffbe7 Mon Sep 17 00:00:00 2001 From: Jason Ernst Date: Thu, 24 Oct 2024 14:06:31 -0700 Subject: [PATCH] Update README.md --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index deb85bb..bf0055a 100644 --- a/README.md +++ b/README.md @@ -15,4 +15,24 @@ getting a class not found error. It's not so straightforward to override the classpath dependency when its the root project, so the way I made it work, is to force the dependency to be the newer version in the quarkus plugin when -a gradle property is set. \ No newline at end of file +a gradle property is set. + +The following is added to the root build.gradle.kts file: +``` +// this is the only way we can get quarkusDev to work - because of the stupid firebase publishing +// plugin, because it uses a really old version of jackson that overrides any subprojects that use +// the jackson-core library as a build dependency / classpath. We'll need to toggle this so it +// doesn't take effect when we're trying to use the firebase publish +buildscript { + if (properties.containsKey("quarkus").not()) { + println("NOT QUARKUS") + } else { + println("QUARKUS") + configurations.classpath { + resolutionStrategy { + force(libs.jackson.core) + } + } + } +} +```