Comments (9)
Thanks for reporting this. Interested in opening up a PR for this?
from datanucleus-gradle-plugin.
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.
The plugin is still being built with Java 8, in CI.
from datanucleus-gradle-plugin.
Datanucleus 6 needs Java version 11 at least
from datanucleus-gradle-plugin.
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.
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.
That assumes the plugin would not be updated to allow to specify a toolchain for Datanucleus tasks.
from datanucleus-gradle-plugin.
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.
I have created PR #521
from datanucleus-gradle-plugin.
Related Issues (15)
- Add 'enhance-check' task or a 'check' option to the 'enhance' options
- Does this plugin support persistence metadata provided via XML instead of annotations? HOT 1
- Fix Dependabot badge in README, following its native integration to GitHub HOT 1
- Doc intro about enhancement misleading HOT 1
- ClassNotFoundException when running 'enhance' task on domain classes that make use of classes outside of the main/test source set
- Support DataNucleus SchemaTool operations
- Allow to enhance test classes as well
- Consider using JavaExec when calling DataNucleus HOT 3
- Consider using lazy configuration with Gradle
- Consider using Gradle task configuration avoidance
- Make the enhance tasks Cacheable HOT 1
- Unable to use this plugin with latest Gradle 6.0
- Monthly issue metrics report
- Monthly issue metrics report
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datanucleus-gradle-plugin.