Ad-hoc skipping gradle module

I have a multi-module gradle project with configured Sonar scanner. Everything works fine. Now I want to configure several Jenkins job to run sonar analysis on different subsets of my gradle modules. Can I somehow tell with env variable or command line switches that in this particular run sonar gradle plugin has to skip some modules?