rocketraman commented on code in PR #147:
URL:
https://github.com/apache/logging-log4j-kotlin/pull/147#discussion_r3009337478
##########
src/site/antora/modules/ROOT/pages/index.adoc:
##########
@@ -43,6 +45,17 @@ You need to have the
`org.apache.logging.log4j:log4j-api-kotlin` dependency in y
</dependency>
----
+or with Gradle:
+
+[source,kotlin,subs="+attributes"]
+----
+implementation("org.apache.logging.log4j:log4j-api-kotlin:{project-version}")
+----
+
+Note that `log4j-api-kotlin` has a transitive dependency on `log4j-api`.
+Since `log4j-core` *also* depends transitively on `log4j-api`, this may result
in Maven downgrading the `-api` artifact which can
https://github.com/apache/logging-log4j-kotlin/issues/144#issuecomment-4090207780[cause
issues].
+We recommend that projects leverage the `log4j-bom` as well.
Review Comment:
Good point, done with
https://github.com/apache/logging-log4j-kotlin/pull/147/commits/0105c86c4afe11b507b1b26c47bb1097fe82144b
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]