Progress Bar shows incorrect total file size while fetching dependencies


#1

While using gradle-1.11-20140114002306+0000 it turned out that the total file size is reported as -1:

Download http://repo.gradle.org/gradle/libs/com/google/code/findbugs/findbugs/2.0.1/findbugs-2.0.1-sources.jar Download http://repo.gradle.org/gradle/libs/com/google/code/findbugs/findbugs/2.0.1/findbugs-2.0.1.jar Download http://repo.gradle.org/gradle/libs/com/google/code/findbugs/bcel/2.0.1/bcel-2.0.1.jar Download http://repo.gradle.org/gradle/libs/jaxen/jaxen/1.1.1/jaxen-1.1.1.jar :codeQuality:idea :determineCommitId :createBuildReceipt :core:buildReceiptResource :core:classpathManifest Download http://repo.gradle.org/gradle/libs/org/ow2/asm/asm-all/5.0_BETA/asm-all-5.0_BETA.jar Download http://repo.gradle.org/gradle/libs/commons-io/commons-io/1.4/commons-io-1.4.jar Download http://repo.gradle.org/gradle/libs/ch/qos/logback/logback-core/1.0.13/logback-core-1.0.13.jar Download http://repo.gradle.org/gradle/libs/ch/qos/logback/logback-classic/1.0.13/logback-classic-1.0.13.jar > Building 22% > :core:ideaModule > 85 KB/-1 B downloaded