Why does Gradle ignore dependencies to ant?

(Sergio Fernández) #1

The package org.apache.ant:ant includes more than ant tasks. it comes with some classes (such as org.apache.tools.tar.TarOutputStream) used by some library for package exporting stuff.

But if I include this dependency in my build.gradle:

compile (‘org.apache.ant:ant:1.8.0’)

Gradle quietly obvious it! Why?

(Peter Niederwieser) #2

Gradle shouldn’t ignore this dependency. It should put it on the compile class path (not the build script class path) as requested. If not, there might be something wrong with your build script.