Giter Club home page Giter Club logo

Comments (9)

rm3l avatar rm3l commented on June 30, 2024

Thanks for reporting this. Interested in opening up a PR for this?

from datanucleus-gradle-plugin.

aley2003 avatar aley2003 commented on June 30, 2024

To be honest, I have a running version of your plugin with Datanucleus 6, Java 17 and gradle 8.1.1 on Windows.
For Windows I had had to change some path handling in tests ('/' vs. '\').
I had fixed some Closure to Closure<?> too.
I think the new version will not work for Datanucleus 5 any longer.
To get my version deployable for all I need to backport it to Java 11.
Should I try it?
Which gradle wrapper version should I use (8.2.1?)?

from datanucleus-gradle-plugin.

thc202 avatar thc202 commented on June 30, 2024

The plugin is still being built with Java 8, in CI.

from datanucleus-gradle-plugin.

aley2003 avatar aley2003 commented on June 30, 2024

Datanucleus 6 needs Java version 11 at least

from datanucleus-gradle-plugin.

thc202 avatar thc202 commented on June 30, 2024

What version Datanucleus needs is not a requirement for Gradle/plugin, in any case just saying the minimum version the plugin is currently targeting (I don't mind the bump, already using newer Java versions than 8).

from datanucleus-gradle-plugin.

aley2003 avatar aley2003 commented on June 30, 2024

If I revert the java.toolchain.languageVersion to 8 I get

bad class file: ...\datanucleus-core-6.0.4.jar(org/datanucleus/store/schema/SchemaTool.class)
    class file has wrong version 55.0, should be 52.0

So I think we do need Java 11 to support Datanucleus 6.

from datanucleus-gradle-plugin.

thc202 avatar thc202 commented on June 30, 2024

That assumes the plugin would not be updated to allow to specify a toolchain for Datanucleus tasks.

from datanucleus-gradle-plugin.

aley2003 avatar aley2003 commented on June 30, 2024

Do you talk about an additional toolchain for Datanucleus tasks?
Can you please explain how this could work and why we would need this?

Every project using Datanucleus 6 will need Java 11 at least.
So every user of datanucleus-gradle-plugin for Datanucleus 6 will have Java 11 at least.

from datanucleus-gradle-plugin.

aley2003 avatar aley2003 commented on June 30, 2024

I have created PR #521

from datanucleus-gradle-plugin.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.