jstachio / rainbowgum

Fast, Small, JDK 21+, GraalVM native friendly SLF4J logging framework
BSD 3-Clause "New" or "Revised" License
66 stars 3 forks source link

Maven/Gradle Rainbow Gum bundle should have pattern and friends as scope compile #56

Closed agentgt closed 6 months ago

agentgt commented 6 months ago

PS: one small suggestion though, you may have noticed that I did include not just core, but also pattern explicitly, as having it pulled transitively by gradle does not make it accessible as implementation even if io.jstach.rainbowgum:rainbowgum is included as such. I think to have a better developer ergonomic, when including io.jstach.rainbowgum:rainbowgum, the transitive dependencies should be pulled in with the same scope so that having implementation("io.jstach.rainbowgum:rainbowgum:0.2.0") is enough. When just wanting to use the defaults, having runtimeOnly("io.jstach.rainbowgum:rainbowgum:0.2.0") should be sufficient.

Originally posted by @cmdjulian in https://github.com/jstachio/rainbowgum/issues/55#issuecomment-1986092634