title: Add resources and config files to your JAR using Gradle
body: <p>How do I add config files or any other resources into my jar using gradle?</p>
  
  <p>My project structure:</p>
  
  <blockquote>
    <p>src/main/java/com/perseus/.. --- Java packages (source files)</p>
    
    <p>src/main/java/config/*.xml --- Spring config files</p>
  </blockquote>
  
  <p>Expected jar structure:</p>
  
  <blockquote>
    <p>com/perseus/.. --- Java packages (class files) </p>
    
    <p>config/*.xml --- Spring config files</p>
  </blockquote>