Hi all, 

I'm struggling with an issue with gradle multiproject.

I've got a build.gradle file in my root workspace. It looks like this:

subprojects {
    apply plugin:'java'
    apply plugin: 'maven'

    group = 'uk.co.futureroute'
    sourceCompatibility = 1.6
    version = '1.0'

    repositories {
        mavenCentral()
        mavenLocal()
    }
        
        sourceSets {
            main {
                java {
                    srcDirs file('src')
                }
                resources {
                    srcDirs file('src')
                }
            }
        }

    dependencies{
        compile "org.aspectj:aspectjrt:1.6.11"
        compile fileTree(dir: '../libraries/Tomcat7', include: '*.jar',
exclude: ['groovy*.jar', 'aspectjweaver.jar'])
        
        testCompile "junit:junit:4.7"
        testCompile fileTree(dir: '../libraries/testing', include: '*.jar')
    }
    
    jar {
       manifest.attributes provider: 'gradle'
    }
  
<snip>

}


And have a build.gradle in my web app project file containing the following

  apply plugin: 'war'
  wepAppDirName = 'WebContent'
  buildDir = 'lump'


My understanding is that the web app dir should therefore switch to
WebContent/ but it doesn’t. On the other hand buildDir is switching to
lump/, and the source and resources are being picked up fine.

Is this a bug?


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Issue-with-webAppDirName-and-war-plugin-tp4560665p4560665.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to