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

Support gradle 8 #2499

Closed
robert3005 opened this issue Feb 21, 2023 · 1 comment
Closed

Support gradle 8 #2499

robert3005 opened this issue Feb 21, 2023 · 1 comment

Comments

@robert3005
Copy link
Contributor

robert3005 commented Feb 21, 2023

What happened?

Currently running this plugin on gradle 8 fails for couple of reasons:

  1. If you use junit jupiter and haven't set useJUnitPlatform() yourself the plugin will want to do it at runtime which fails now
  2. Java toolchains configuration have been revamped and will need adjusting. At the moment all you get is
class com.palantir.baseline.plugins.javaversions.BaselineJavaCompiler cannot be cast to class org.gradle.jvm.toolchain.internal.DefaultToolchainJavaCompiler (com.palantir.baseline.plugins.javaversions.BaselineJavaCompiler is in unnamed module of loader org.gradle.internal.classloader.VisitableURLClassLoader @4bae9068; org.gradle.jvm.toolchain.internal.DefaultToolchainJavaCompiler is in unnamed module of loader org.gradle.initialization.MixInLegacyTypesClassLoader @28975c28)

I think this is caused by toolchain changes made in 8, 7.6 works fine
3. There's an issue with gradle-versions but that lives in another repo

What did you want to happen?

Project should build without errors

@JochenGuckSnk
Copy link

The lack of gradle 8 support blocks also other plugins...
#618

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