NativeScript / NativeScript/android
JDK 14 causes build bug
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 563
- Forks
- 144
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 14
Description
I have upgraded JDK to 14 ant project stoped building.
It gets this error:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
and
Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
after some research i found this issue: https://github.com/gradle/gradle/issues/10248
they are sying that gradle need to be updated throuh gradle-wrapper.
Can you tell me how i can do it in nativescript project?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Gradle wrapper configuration referenced in the report and reproduce the failure under JDK 14, then compare the linked Gradle compatibility issue. Done means the NativeScript Android project builds successfully on JDK 14 with the required wrapper change documented or applied.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, groovy, java
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100