5.5.1 Defining Dependencies with Gradle - Reference Documentation
Authors: Graeme Rocher, Peter Ledbrook, Marc Palmer, Jeff Brown, Luke Daley, Burt Beckwith, Lari Hotari
Version: 3.0.12
5.5.1 Defining Dependencies with Gradle
Dependencies for your project are defined in thedependencies
block. In general you can follow the Gradle documentation on dependency management to understand how to configure additional dependencies.The default dependencies for the "web" profile can be seen below:dependencies { compile 'org.springframework.boot:spring-boot-starter-logging' compile('org.springframework.boot:spring-boot-starter-actuator') compile 'org.springframework.boot:spring-boot-autoconfigure' compile 'org.springframework.boot:spring-boot-starter-tomcat' compile 'org.grails:grails-dependencies' compile 'org.grails:grails-web-boot' compile 'org.grails.plugins:hibernate' compile 'org.grails.plugins:cache' compile 'org.hibernate:hibernate-ehcache' runtime 'org.grails.plugins:asset-pipeline' runtime 'org.grails.plugins:scaffolding' testCompile 'org.grails:grails-plugin-testing' testCompile 'org.grails.plugins:geb' // Note: It is recommended to update to a more robust driver (Chrome, Firefox etc.) testRuntime 'org.seleniumhq.selenium:selenium-htmlunit-driver:2.44.0' console 'org.grails:grails-console' }
dependencyManagement {
imports {
mavenBom 'org.grails:grails-bom:' + grailsVersion
}
applyMavenExclusions false
}