Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest release incompatible with JDK6 #35

Closed
aalmiray opened this issue Feb 7, 2014 · 8 comments
Closed

Latest release incompatible with JDK6 #35

aalmiray opened this issue Feb 7, 2014 · 8 comments

Comments

@aalmiray
Copy link
Contributor

aalmiray commented Feb 7, 2014

Got the following error when running a build on Travis using jdk6

Execution failed for task ':licenseMain'.
> nl/javadude/gradle/plugins/license/maven/LicenseCheckMojo : Unsupported major.minor version 51.0
aalmiray added a commit to asciidoctor/asciidoctor-gradle-plugin that referenced this issue Feb 10, 2014
License plugin does not run under OpenJDK6 hierynomus/license-gradle-plugin#35
@hierynomus
Copy link
Owner

Oops, built with Java 7 by accident... My bad.

@aoberoi
Copy link

aoberoi commented May 16, 2014

is there a solution for this?

@hierynomus
Copy link
Owner

Yes, v0.9.0 will be built with Java6, sorry for taking so long.

@hierynomus
Copy link
Owner

Fixed with aecba38

@xumingming
Copy link

using 0.13.1 still got this:

FAILURE: Build failed with an exception.

* What went wrong:
java.lang.UnsupportedClassVersionError: nl/javadude/gradle/plugins/license/LicensePlugin : Unsupported major.minor version 51.0
> nl/javadude/gradle/plugins/license/LicensePlugin : Unsupported major.minor version 51.0

@hierynomus
Copy link
Owner

Correct, 0.12.0 is the last one that works with JDK6. As JDK6 has been EOL'ed for a long time, we decided to drop support for it. Even JDK7 is deprecated and will be EOL'ed in the near future.

If you're bound to JDK6, you can still use 0.12.0

@tolbertam
Copy link

If you're bound to JDK6, you can still use 0.12.0

It looks like 0.11.0 is the last that works with JDK6, but that works great for me 👍

@bric3
Copy link

bric3 commented Nov 7, 2016

@hierynomus that's a breaking change that is not even documented in the release notes. The very least would be do increase the major number And to describe the incompatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants