Fixed issue #2

Dear janvolck, 
I have fixed the issue #2 from gradle-scr-plugin issue list. 
Because it doesn't work with the latest versions of dependent libraries. 
Could you please merge it with original code and create new version of the gradle-scr-plugin.
Thank you