feat(subsystems): add  reflections filter for subsystem's classes
@@ -24,6 +24,7 @@ subprojects {
doLast {
// Without the .mkdirs() we might hit a scenario where the classes dir doesn't exist yet
Reflections reflections = new Reflections(new ConfigurationBuilder()
+ .filterInputsBy { it.startsWith('org/terasology/')}
.addUrls(inputs.files.collect { it.toURI().toURL() })
.setScanners(new TypeAnnotationsScanner(), new SubTypesScanner()))
reflections.save("$buildDir/classes/reflections.cache")
