Unable to create Ant Task

I’m new to Proguard, and to Ant. I am get the following error when trying to obfuscate my jar:

Could not load definitions from resource …/proguard/ant/task.properties. It could not be found.

Here is a sample of my

Problem: failed to create task or type proguard

Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.

Hi @ruthvp,

First of all welcome to the community!

ProGuard 7.0.0 accidentally does not contain the Ant plugin in lib/proguard.jar

This is now fixed in ProGuard 7.1-beta1:

Try downloading the 7.1-beta.zip from Github and check back in to confirm you managed to pass a build if possible. The manual there is updated also.

Kind Regards,

Jack

2 Likes