NativeScript / NativeScript/android

JDK 14 causes build bug

未关闭
#1,596 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

feature
主要语言
C++
星标
563
派生
144
平均合并
10 小时 46 分钟
30 天内合并 PR
14

描述

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?

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

先从报告中引用的 Gradle wrapper 配置开始,在 JDK 14 下重现故障,然后对比链接的 Gradle 兼容性问题。完成的标准是 NativeScript Android 项目能够在 JDK 14 下成功构建,并且所需的 wrapper 更改已记录或应用。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, groovy, java
领域
build-system, mobile-dev
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。