Created by: makovkastar
According to the android_resource docs, having a path to a directory containing Android resources is deprecated and should be replaced with subdir_glob()
.
res (defaults to None) A dictionary mapping relative resource paths to either the resource files or the build targets that generate them. The subdir_glob() function can be used to generate dictionaries based on a directory structure of files checked into the repository. Alternatively, this can be a path to a directory containing Android resources, although this option is deprecated and might be removed in the future.
See the examples provided:
android_resource(
name = 'res',
res = subdir_glob([('res', '**')]),
package = 'com.example',
)