In further versions of the ImagePicker library the class 'File' is used
to reference an image. Using 'File' caused the permission problems mentioned
in #2511.
Resolves: #2511
See: d7e643b560
Signed-off-by: Tim Krüger <t@timkrueger.me>
This avoids polluting our main sourceset and makes it easier to substitute for a proper Gradle dependency in the future
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>