Matthew Fudge wrote:
The way I have done this is addFlatDirResolver('serverlib').addArtifactPattern(new
        File('libs/[artifact].[ext]')

    compile 'org.apache:apache-commons:unknown'


The "unknown" bit doesn't mean anything. Its the version for the jar. However the 
artifact pattern does not include the revison/version part so the flat dir resolver does not try to 
append "-unknown" to the jar file name.

I too would like to know if there isa better solution than this.


I think Gradle 0.6 will address both these problems (needing to add an artifact pattern to the flat dir resolver, and needing to add a meaningless version for a dependency).


Adam


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

   http://xircles.codehaus.org/manage_email


Reply via email to