Newer
Older
labs / tiddlers / content / labs / lab07 / $__Labs_07_The 'static' Resource Folder.md
@Mark George Mark George on 18 Aug 408 bytes WIP lab 7

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 = []
      }
   }
}