Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
compscidr authored Oct 24, 2024
1 parent 8d10418 commit 7730e3e
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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)
}
}
}
}
```

0 comments on commit 7730e3e

Please sign in to comment.