NativeScript / NativeScript/android

JDK 14 causes build bug

Open
#1,596 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.