Hi all,
I'm facing an issue when using war plugin. The resulting war is packed with
duplicated jars in WEB-INF/LIB folder (zip allows files with same name). All
jars are duplicated.

The build script is quite simples and is listed below:

apply plugin: 'war'
apply from: 'xmlbeans.gradle'

weblogicLibDirName =
"${System.getenv()['BEA10_HOME']}/wlserver_10.0/server/lib"
buildDir = file("../build")

configurations {
        xmlbeans { extendsFrom compile }
}

dependencies {
        compile                 fileTree(dir: "src/main/webapp/WEB-INF/lib", 
include: '*.jar')
        providedCompile fileTree(dir: weblogicLibDirName , include: 
'weblogic.jar')
}

Any help is appreciated. Thanks.

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/War-packed-with-duplicated-jars-tp4624905p4624905.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