Comments (4)
It should work as java8. We set compatibility to JDK8 in the build.
from jruby-gradle-plugin.
We get this error with JDK 8:
java.lang.UnsupportedClassVersionError: com/github/jrubygradle/JRubyPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
from jruby-gradle-plugin.
I also ran into this issue with openjdk 1.8.0_352 & gradle 7.6. It seems 2.1.0-alpha was compiled with Java 11 and using v2.0.2 in my project works great with JDK 8.
I verified this by downloading the jruby-gradle jars from plugins.gradle.org, unzipping the jars with the "jar" command, and using the "javap" command to verify the 'major version' used in the compiled artifacts. v2.0.2 reports major version 52 (java 1.8) and v2.1.0-alpha.2 reports major version 55 (java 1.11).
As a followup, it might be worth while on making a new v2.1.0-alpha3 artifact that's been compiled with JDK8.
from jruby-gradle-plugin.
You are free to fork this and release your won version. I do not have time to maintain this suite of plugins anymore and I don't think any of the other originals founders do either.
from jruby-gradle-plugin.
Related Issues (20)
- Cannot cast object extension jruby HOT 2
- Gradle 7.1 deprecation warnings
- Custom gem repository not working with jruby-gradle-plugin 2.0.1 (plain command line gem does work with the same custom repo in .gemrc) HOT 5
- Requesting non-alpha 2.1.0 release HOT 7
- JRubyPrepare projectOperations missing input or output annotation HOT 1
- JRubyPrepare task fails on Windows Github Actions
- Gradle 7 deprecation warnings HOT 1
- Cannot install Nokogiri 1.14.0 HOT 1
- Test multiple gradle versions using https://github.com/gradle/gradle-build-action
- Remove traces of bintray publishing
- Move packages to dedicated "jruby-gradle" account in plugins.gradle.org HOT 1
- Java 8 support
- Publishing GitHub Pages
- `JRubyExec` doesn't stop on debugger
- 'jruby-gradle-core-plugin` Second Level Dependency Moved/Removed From Maven Central and Gradle Plugin Portal HOT 3
- example run-simple-ruby-script gradlew run error
- `setMain` in `JRubyExec` is removed in Gradle 8 and hence the plugin doesn't work
- `Cannot fingerprint input property 'gemConfiguration'`
- Gradle 8 compatibility?
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 jruby-gradle-plugin.