Ah. Actually, that makes sense. :( Sorry.

So, does setting something to "runtime" work essentially the same as
"provided" in the Maven sense?

Thanks,
Eric

On Tue, Dec 21, 2010 at 2:07 PM, Levi Hoogenberg
<[email protected]>wrote:

> Hi Eric,
>
> it's the other way around, actually - all compile dependencies are
> available at runtime. The runtime configuration contains the classes that
> you use, but not necessarily compile against, e.g. a JDBC driver.
>
> Regards,
>   Levi
>
> Op 21 dec 2010 23:04 schreef "Eric Berry" <[email protected]>:
>
>
> Hello, I'm using Gradle 0.9.
>
> I have a project using the java plugin, and I've declared some runtime
> dependencies.
>
> However, when I run "gradle build" I see all sorts of compile errors. If I
> change the dependencies to be compile, then it works fine.
>
> My understanding is that runtime, extends compile and all the 'runtime'
> dependencies should be included in 'compile'. Is this correct?
>
> Any help would be greatly appreciated.
>
> Thanks,
> Eric
>
> --
> Learn from the past. Live in the present. Plan for the future.
> Blog: http://www.townsfolkdesigns.com/blogs/elberry
> jEdit <http://www.jedit.org> - Programmer's Text Editor
> Bazaar <http://bazaar.canonical.com> - Version Control for Humans
>
>


-- 
Learn from the past. Live in the present. Plan for the future.
Blog: http://www.townsfolkdesigns.com/blogs/elberry
jEdit <http://www.jedit.org> - Programmer's Text Editor
Bazaar <http://bazaar.canonical.com> - Version Control for Humans

Reply via email to