Hi phil,
The compile dependencies are resolved inside the compile task just before gradle starts compiling your sources. are you sure your dependencies are right. did you try to clean your cache? can you provide the output of your failed build?

regards,
René

Am 13.04.11 22:41, schrieb phil swenson:
I am writing a custom gradle plugin in a subproject that has a
build.gradle file that looks like:

dependencies {
     compile project(':bas-plugins-core')
     compile('com.myco.g11n.lfw:lfw-messageeditor:4.12.7.12',
             'com.myco.g11n.lfw:lfw-messageeditor-ptt:1.1.1.1',
             'com.myco.g11n.lfw:lfw-messageeditor-resources:4.12.7.12',
             'com.myco.g11n.lfw:lfw-messageeditor-stylesheets:4.12.7.12',
             'com.myco.g11n.lfw:lfw-messageeditor-utils:4.12.7.12',
             'com.myco.tamino:tamino-api4i:4.4.1.6',
             'com.myco.tamino:tamino-jca:4.4.1.6',
             'com.myco.tamino:tamino-jdom:4.4.1.8',
     )
     runtime('com.myco.g11n.lfw:lfw-messageeditor:4.12.7.12',
             'com.myco.g11n.lfw:lfw-messageeditor-ptt:1.1.1.1',
             'com.myco.g11n.lfw:lfw-messageeditor-resources:4.12.7.12',
             'com.myco.g11n.lfw:lfw-messageeditor-stylesheets:4.12.7.12',
             'com.myco.g11n.lfw:lfw-messageeditor-utils:4.12.7.12',
             'com.myco.tamino:tamino-api4i:4.4.1.6',
             'com.myco.tamino:tamino-jca:4.4.1.6',
             'com.myco.tamino:tamino-jdom:4.4.1.8',

     )
}

in the same dir I have
src ->  main ->  groovy ->  com.myco.bas.plugins/L10NPlugin.groovy

Inside this L10NPlugin.groovy I reference a class MessageEditor in the
above com.myco.g11n.lfw:lfw-messageeditor:4.12.7.12

The L10NPlugin groovy file fails to compile because it can't find
MessageEditor.  This is because the MessageEditor is never downloaded
from the artifact repository.  And the build never attempt to download
it.

So what triggers the build to download this artifact and put it in the
local cache?

Thanks for thoughts on this.... this is my first real plugin.
phil

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

     http://xircles.codehaus.org/manage_email



--
-----------------------
regards René

rene groeschke
http://www.breskeby.com
@breskeby


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

   http://xircles.codehaus.org/manage_email


Reply via email to