added groovy api support when using eclipse
added gradle api support when using eclipse