>From the documentation about the war plugin:
"All the dependencies of the runtime
[9<http://www.gradle.org/current/docs/userguide/war_plugin.html#ftn.N1275A>
]configuration are copied to WEB-INF/lib."

I have the following build.gradle:
apply plugin: 'war'

sourceCompatibility = 1.6
version = '0.1'
jar.baseName = 'GradleTest'

repositories {
  mavenCentral()
  mavenRepo urls: "http://repo2.maven.org/maven2/";
  mavenRepo urls: "https://repository.jboss.org/nexus/content/groups/public/
"
}

dependencies {
  runtime group: 'org.hibernate', name: 'hibernate-core', version:
'3.6.4.Final'
}

1. When I call 'gradle clean war' from the command line, should I get a
'war' folder after a succefull build?
2. After calling 'gradle clean war', I looked at 'build/libs' folder and
there's only a .war file, shouldn't the dependency jars be there?

-- 
Magno Machado Paulo
http://blog.magnomachado.com.br
http://code.google.com/p/emballo/

Reply via email to