added support to gradle 0.12