import org.gradle.api.tasks.util.FileSet

usePlugin 'groovy'

group = 'org.gradle'
version = '1.0'

dependencies {
    groovy 'org.codehaus.groovy:groovy-all:1.6.0'
    compile project(':groovycDetector')
    testCompile 'junit:junit:4.4'
}

compile {
    exclude '**/Exclude.java'
    groovyExclude '**/ExcludeGroovy.groovy'
    groovyJavaExclude '**/ExcludeGroovyJava.java'
}

manifest.mainAttributes(myprop: 'myvalue')
metaInf << new FileSet(new File(srcRoot, 'metaInfFiles'))

test {
	useJUnit().options.systemProperties['org.gradle.integtest.buildDir'] = buildDir.absolutePath
}

compile {
    groovyOptions.fork(memoryMaximumSize: '128M')
}
