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

aspectj/AspectjGradlePlugin has been compiled by a more recent version of the Java Runtime (class file version 56.0) #7

Open
pankajagrawal16 opened this issue Oct 22, 2020 · 6 comments

Comments

@pankajagrawal16
Copy link

pankajagrawal16 commented Oct 22, 2020

Hi,

It seems this plugin can now only work with java 12 or newer?

Upgrade to 0.0.4 version of plugin results in below error:

* What went wrong:
java.lang.UnsupportedClassVersionError: aspectj/AspectjGradlePlugin has been compiled by a more recent version of the Java Runtime (class file version 56.0), this version of the Java Runtime only recognizes class file versions up to 52.0
> aspectj/AspectjGradlePlugin has been compiled by a more recent version of the Java Runtime (class file version 56.0), this version of the Java Runtime only recognizes class file versions up to 52.0


@arendd
Copy link
Owner

arendd commented Nov 20, 2020

I just released version 0.0.6, should now also work with Java 11, please give it a try :)

@pankajagrawal16
Copy link
Author

great thanks @arendd I will give it a shot today.

@pankajagrawal16
Copy link
Author

Hey @arendd Is it possible to compile with java8 ? So that it works with java8 projects too ?

@arendd
Copy link
Owner

arendd commented Nov 20, 2020

Java 11 is the current LTS version, so I think we should not go lower, sorry.

@ghost91-
Copy link

Is there actually anything to do to make it work on java8? Isn't it simply a matter of setting targetCompatibility = JavaVersion.VERSION_1_8?

@arendd
Copy link
Owner

arendd commented Dec 15, 2021

SORRY for the late reply. Just released a new Version 0.0.7. Please try it again

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

3 participants