On Fri, Jan 1, 2010 at 14:13, Tom Malone <[email protected]> wrote:
> I am coming from maven and I want to know how to map the provided scope.
>
> repositories {
> mavenCentral()
> }
>
> dependencies {
> compile "com.google.gwt:gwt-servlet:2.0.0"
> compile "com.google.gwt:gwt-user:2.0.0"
> provided "javax.servlet:servlet-api:2.5"
> }
>
> Which doesn't work
>
> Cause: No signature of method:
> org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.provide()
> is applicable for argument types: (java.lang.String) values:
>
> How do I do this?
>
> Sorry if this is really obvious
>
> Tom
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>
Adam or Hans can correct me but provided is not yet in the Java plugin
(could be in HEAD). You have to use the war plugin or create your own
configuration for providedCompile and providedRuntime.
There is no "provided" either, it's providedCompile and providedRuntime.
--
Jason Porter
Real Programmers think better when playing Adventure or Rogue.
PGP key id: 926CCFF5
PGP fingerprint: 64C2 C078 13A9 5B23 7738 F7E5 1046 C39B 926C CFF5
PGP key available at: keyserver.net, pgp.mit.edu
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email