With Android M Google has deprecated support for http library. To support existing applications use this library they have documented that using GRADLE build we can add support to http library by using following parameter.
android{
useLibrary 'org.apache.http.legacy'
}
How can we achieve the same in Eclipse environment using ant build ?