KEthereum icon indicating copy to clipboard operation
KEthereum copied to clipboard

Make compatible with java>1.8

Open ligi opened this issue 5 years ago • 1 comments

with java>1.8 some tests are failing - seems to have to do with resource loading

ligi avatar Jun 17 '20 06:06 ligi

Hey, my build is failing most likely because of the same issue.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Failed to transform bcprov-jdk15on-1.67.jar (org.bouncycastle:bcprov-jdk15on:1.67) to match attributes {artifactType=android-java-res, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for JetifyTransform: /Users/abhimanyushekhawat/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15on/1.67/8c0998045da87dbc2f1d4b6480458ed811ca7b82/bcprov-jdk15on-1.67.jar.
         > Failed to transform '/Users/abhimanyushekhawat/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15on/1.67/8c0998045da87dbc2f1d4b6480458ed811ca7b82/bcprov-jdk15on-1.67.jar' using Jetifier. Reason: IllegalArgumentException, message: Unsupported class file major version 59. (Run with --stacktrace for more details.)
           Please file a bug at http://issuetracker.google.com/issues/new?component=460323.

This is in the logs, would it be possible for you to suggest some workaround? I am using gradle 6.5.

Abhimanyu121 avatar Mar 08 '21 10:03 Abhimanyu121