jdaugherty commented on code in PR #15275:
URL: https://github.com/apache/grails-core/pull/15275#discussion_r2606883347
##########
grails-data-hibernate5/docs/src/docs/asciidoc/gettingStarted/outsideGrails.adoc:
##########
@@ -17,21 +17,21 @@ specific language governing permissions and limitations
under the License.
////
-If you wish to use GORM for Hibernate outside of a Grails application you
should declare the necessary dependencies for GORM and the database you are
using, for example in Gradle:
+If you wish to use GORM for Hibernate outside a Grails application you should
declare the necessary dependencies for GORM and the database you are using, for
example in Gradle:
[source,groovy,subs="attributes"]
----
-compile "org.apache.grails.data:grails-data-hibernate5-core:{version}"
-runtime "com.h2database:h2:1.4.192"
-runtime "org.apache.tomcat:tomcat-jdbc:8.5.0"
-runtime "org.apache.tomcat.embed:tomcat-embed-logging-log4j:8.5.0"
-runtime "org.slf4j:slf4j-api:1.7.10"
+implementation platform("org.apache.grails:grails-bom:{version}")
+implementation "org.apache.grails.data:grails-data-hibernate5-core"
+runtimeOnly "com.h2database"
+runtimeOnly "org.apache.tomcat:tomcat-jdbc"
+runtimeOnly "org.slf4j:slf4j-nop"
Review Comment:
Why recommend nop instead of api? Don't we want the slf4j logging?
--
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]