Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apply plugin: "java"
- apply plugin: 'war'
- sourceSets {
- main {
- java {
- srcDir 'src'
- }
- resources {
- srcDir 'resources'
- }
- }
- test {
- java {
- srcDir 'test'
- }
- }
- }
- configurations {
- runtime_bundle
- }
- dependencies {
- compile fileTree(dir: 'lib/ai', include: ['*.jar'])
- }
- war {
- from('../resources') {
- into('WEB-INF/classes')
- include('widget-templates/**')
- }
- webInf { from 'web/WEB-INF' } // adds a file-set to the WEB-INF dir.
- webXml = file('web/WEB-INF/web.xml') // copies a file to WEB-INF/web.xml
- classpath configurations.runtime_bundle
- }
Add Comment
Please, Sign In to add comment