blob: 24ac5a1e2aa936ea046156e432fa7f6bbee2bf86 [file] [log] [blame]
import t5build.*
description = "Support for JSR-303 Bean Validation via the Hibernate validator implementation"
dependencies {
compile project(':tapestry-core')
compile "javax.validation:validation-api:1.0.0.GA"
compile "org.hibernate:hibernate-validator:4.3.2.Final"
testCompile project(':tapestry-test')
}
task compileCoffeeScript(type: CompileCoffeeScript) {
outputDir "src/main/generated/compiled-coffeescript"
}
// Start up the test app, useful when debugging failing integration tests
task runTestApp303(type:JavaExec) {
main = 'org.apache.tapestry5.test.JettyRunner'
args "-d", "src/test/webapp", "-p", "8080"
classpath += project.sourceSets.test.runtimeClasspath
}
clean.delete 'src/main/generated'
sourceSets {
main {
output.dir(compileCoffeeScript.outputDir, builtBy: compileCoffeeScript)
}
}
jar.manifest.attributes 'Tapestry-Module-Classes': 'org.apache.tapestry5.beanvalidator.modules.BeanValidatorModule'