use allScope instead of projectScope
otherwise the jdk and libraries of the project will be missing