This now uses a AppScanOptionalFeature injected interface that is satisfied by each module,
reducing the duplicated code to a minimum
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Android Studio has started to fail for some stuff with that old structure (for example connected tests don't work).
It's about time to do this.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>