labs / tiddlers / content / labs / lab07 / _Labs_07_The 'static' Resource

To make it easier for you to access your static assets in NetBeans we will add the static folder (which is where will will put the static assets) to the Gradle project as a resource folder.

Add the following section to the bottom of the build.gradle file:

sourceSets {
   'static' {
      resources {
         srcDirs = ['static']
      java {
         srcDirs = []