apply plugin: 'groovy'

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

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

sourceSets {
    main {
        java {
            exclude '**/ExcludeJava.java'
        }
        groovy {
            exclude '**/ExcludeGroovy.groovy', '**/ExcludeGroovyJava.java'
        }
    }
}

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

jar {
    manifest.attributes(myprop: 'myvalue')
    metaInf {
        from 'src/metaInfFiles'
    }
}

test {
	systemProperties['org.gradle.integtest.buildDir'] = buildDir.absolutePath
}
