| plugins { |
| id 'org.apache.grails.gradle.grails-web' |
| } |
| |
| version = projectVersion |
| group = 'examples' |
| |
| dependencies { |
| implementation platform("org.apache.grails:grails-bom:$grailsVersion") |
| |
| implementation project(':hibernate5-grails-plugin') |
| implementation 'org.apache.grails:grails-core' |
| implementation "org.yakworks:hibernate-groovy-proxy:$yakworksHibernateGroovyProxyVersion", { |
| exclude group: 'org.codehaus.groovy', module: 'groovy' |
| } |
| |
| runtimeOnly 'com.h2database:h2' |
| runtimeOnly 'com.zaxxer:HikariCP' |
| runtimeOnly 'org.springframework.boot:spring-boot-autoconfigure' |
| runtimeOnly 'org.springframework.boot:spring-boot-starter-logging' |
| |
| testImplementation 'org.apache.grails.testing:grails-testing-support-core' |
| } |
| |
| apply { |
| from rootProject.layout.projectDirectory.file('gradle/java-config.gradle') |
| from rootProject.layout.projectDirectory.file('gradle/hibernate5-test-config.gradle') |
| from rootProject.layout.projectDirectory.file('gradle/example-config.gradle') |
| } |