Skip to content

Support using the plugin with Java 8 #97

@fhoeben

Description

@fhoeben

What happened?

I tried to add the plugin to our project FitNesse. I added the plugin to the plugins block and added the following config

jdks {
  jdk(8) {
    distribution = 'azul-zulu'
    jdkVersion = '8.64.0.19'
  }
}

javaVersions {
  libraryTarget = 8
}

When I tried to build I got:

java.lang.UnsupportedClassVersionError: com/palantir/gradle/jdks/JdksPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
com/palantir/gradle/jdks/JdksPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

What did you want to happen?

I would have liked to be able to use this plugin also when my gradle is using Java 8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions