Gradle cache regression in 3.0 M2

It seems like Gradle cache can’t handle Java 1.1 compatible jars anymore.

'net.sf.ehcache:ehcache:2.10.2' causes it to fail with java.lang.IllegalArgumentException: Could not determine java version from '45'. (i.e. 0x2D => Java 1.1).

http://pastebin.com/PNNz0L6y

Any news about this? Could you reproduce it?

Apologies for not responding here. Gradle Inc. has been booked with Summit and World meeting activities.

I expect we will be able to reproduce and respond by the end of this week.

1 Like

Hi

I’m afraid I’m not able to reproduce this issue yet. I created a sample repository to test this. Could you please provide instructions for how you trigger the failure you’re reporting (and, optionally, submit a PR to the test repo if necessary)?

Here’s a build scan of the project running successfully.

Add this to your build.gradle:

tasks.withType(JavaCompile) {
            options.incremental = true
        }

build scan

I was able to reproduce your bug. This will be fixed in Gradle 3.0-rc-1.

Thank you very much for your report!

1 Like