blob: 042442de15c222f89a34dfd5d826a5f0bfbf2023 [file] [log] [blame]
plugins {
id 'groovy'
id 'java-library'
id 'org.grails.grails-plugin'
id 'org.grails.grails-gsp'
}
version = projectVersion
group = 'org.grails.plugins'
ext {
pomArtifactId = 'fields'
pomTitle = 'Grails Fields Plugin'
pomDescription = 'Customizable form-field rendering based on overrideable GSP template'
pomDevelopers = [robfletcher: 'Rob Fletcher', graemerocher: "Graeme Rocher", sdelamo: "Sergio del Amo", sbglasius: 'Søren Berg Glasius']
snapshotPublishUrl = 'https://repo.grails.org/grails/plugins3-snapshots-local'
}
dependencies {
implementation platform("org.grails:grails-bom:${grailsVersion}"), {
exclude group: 'org.grails.plugins', module: 'gsp' // as a safeguard, exclude projects in this repo to ensure we pick the right version
}
implementation project(':grails-plugin-gsp')
compileOnly "org.grails:grails-plugin-controllers"
compileOnly "org.springframework.boot:spring-boot-autoconfigure"
compileOnly "org.springframework.boot:spring-boot-starter-actuator"
compileOnly "org.springframework.boot:spring-boot-starter-tomcat"
compileOnly 'org.springframework.boot:spring-boot-starter-logging'
testImplementation "org.apache.groovy:groovy-dateutil"
testImplementation "org.grails:grails-datastore-gorm-hibernate5"
testImplementation "org.grails:grails-gorm-testing-support"
testImplementation "org.grails:grails-web-testing-support"
testImplementation 'org.javassist:javassist:3.29.0-GA'
testImplementation("org.jodd:jodd-wot:$joddWotVersion") {
exclude module: 'slf4j-api'
exclude module: 'asm'
}
testRuntimeOnly "net.bytebuddy:byte-buddy"
}
apply from: rootProject.layout.projectDirectory.file('gradle/java-config.gradle')
apply from: rootProject.layout.projectDirectory.file('gradle/test-config.gradle')
apply from: rootProject.layout.projectDirectory.file('gradle/publish-config.gradle')