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


Reply via email to