ext {
projectHome = '../../..'
}
sourceSets.main.java.srcDirs = ["$projectHome/src/groovy-patch/src/main/java"]

//println '---------------------------'
//println 'src dirs:'
//println '---------------------------'
//sourceSets.main.java.srcDirs.each { File file -> println file.absolutePath }
//println '---------------------------'


dependencies {
    compile project(':wrapper')
}

dependencies {
    compile group: 'groovy-all', 					name: 'groovy', 							version: "$groovy_version"
}

//println '---------------------------'
//println 'dependency jars:'
//println '---------------------------'
//configurations.compile.each { File file -> println file.absolutePath }
//println '---------------------------'

// name of jar file
jar.baseName = 'groovy-patch'

// TODO generate manifest
jar {
    manifest {
//        from '../../MANIFEST.MF'
    }
}
