Fix scope issues with IDEA 13+

Closes #22

Issue: spring-projects/gradle-plugins#22