| dependencies { |
| compile rootProject |
| // testCompile 'hsqldb:hsqldb:1.8.0.10' |
| testCompile group: 'org.hsqldb', name: 'hsqldb', version: '2.2.9', classifier: 'jdk5' |
| // testCompile 'com.h2database:h2:1.3.164' |
| testCompile project(':groovy-test') |
| } |
| |
| // required for DataSet tests |
| sourceSets.test.runtimeClasspath += files('src/test/groovy') |
| |
| // TODO move to parent build.gradle subprojects |
| test { |
| excludes = ['**/*TestCase.class', '**/*$*.class'] |
| } |
| |
| task moduleDescriptor(type: org.codehaus.groovy.gradle.WriteExtensionDescriptorTask) { |
| extensionClasses = 'org.codehaus.groovy.runtime.SqlGroovyMethods' |
| } |
| |
| compileJava.dependsOn moduleDescriptor |