title: gradle: exclude folders from the resources of a dependency
body: <p>Is there a way to exclude folders from the resources of a dependency using gradle?
  I am trying to exclude <strong>resources/domains</strong> and <strong>resources/views</strong> folders of this implementation</p>
  <pre><code>implementation &quot;com.tobris:tobris-core:${openPlatformVersion}-SNAPSHOT&quot;
  </code></pre>