### Adding Hazelgrails Dependency (Gradle) Source: https://github.com/enesakar/hazelgrails/blob/master/README.md Adds the hazelgrails plugin dependency to the project's build.gradle file using the compile scope to include it during compilation. ```Gradle compile "org.grails.plugins:hazelgrails:1.0.2" ``` -------------------------------- ### Configuring Hazelcast as Hibernate 2nd Level Cache (Grails Groovy) Source: https://github.com/enesakar/hazelgrails/blob/master/README.md Configures Hibernate to use Hazelcast as its second-level cache region factory by setting the 'cache.region.factory_class' property in the application.groovy configuration file. ```Groovy cache.region.factory_class = 'com.hazelcast.hibernate.HazelcastCacheRegionFactory' ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.