title: How to use same filegroup definition in different subprojects
body: <p>I need to declare specific resources for some of sub-projects and I'm doing it following way  </p>
  
  <pre><code>filegroup(
      name = "some_resources",
      visibility = ["//:app"],
      srcs = glob([
          "src/my/resources/**/*.resources",
      ]),
  )
  </code></pre>
  
  <p>In any subproject however the path where one can find resources is the same. My question would be - what is the most bazelian (bazelish?) way to minimize code duplication in this particular case?</p>
  
  <p>Basically I want to have something like
  expose_some_resources() in relevant subprojects. </p>
  
  <p>and then make this resources visible for every app. </p>