“输入更改需要完全重建增量任务':compileKotlin'”当摇篮建造

问题描述

环境: gradle-6.5.1 科特林 JSF

大家好。 我必须从Intellij搬走,因为我的许可证已过期,并且我试图使用VS Code使用Gradle(就像我以前所做的那样)构建项目。

当我尝试使用通常的 gradle build -info --build-cache运行项目时,因此当我尝试编译我的kotlin代码时,它每次都在同一部分中堆叠:

> Task :compileKotlin
Deleting stale output file: C:\Users\Usuario\Desktop\cloud\build\classes\kotlin\main
Build cache key for task ':compileKotlin' is 3bd7d5460a493fb5a0944ec8a3be0e80
Task ':compileKotlin' is not up-to-date because:
  No history is available.
The input changes require a full rebuild for incremental task ':compileKotlin'.
Using Kotlin/JVM incremental compilation
<-------------> 0% EXECUTING [4m 16s]
> :compileKotlin

它不会引发错误,只是像这样持续数小时。

我还从gradle-5.2.1更新了(该版本中也没有ork),但是在运行扫描时,我的gradle.build似乎没有任何问题,只是一些不推荐使用但仍然有用的说明:{ {3}}

有人知道会发生什么吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)