I’m trying to invoke some ant tasks via a custom plugin. The actual classes needed for that task are loaded in my dependencies block. However, those classes are not passed to the ant runtime.
Is there a recommended method of passing the dependencies packages specified in my build.gradle to the ant runtime?
currently, when running ant.taskdef(name: "foo", classname: "baz.bar.Foo") I get “taskdef class baz.bar.Foo cannot be found using the classloader AntClassLoader”