gradle 1.11 compatible
remove InternalGradle class
Inject instantiator and fileResolver like in standart gradle plugins