You can try
sonar.sources = **/someDir/**/*
sonar.tests = **/someDir/*
//or
sonar.sources = **/someDir/*
sonar.tests = **/someDir/*
Depending on if you have any sub-directories. Might be a better alternative to listing all locations for both tests and sources.