如何将这种类型的github下载的打包成jar

问题遇到的现象和发生背景

img

问题相关代码,请勿粘贴截图
运行结果及报错内容

D:\AI\QuestEngine-master>gradle build

Task :compileKotlin FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileKotlin'.

    Failed to query the value of task ':compileKotlin' property 'compilerRunner$kotlin_gradle_plugin'.
    Kotlin could not find the required JDK tools in the Java installation. Make sure Kotlin compilation is running on a JDK, not JRE.

  • Try:

    Run with --stacktrace option to get the stack trace.
    Run with --info or --debug option to get more log output.
    Run with --scan to get full insights.

  • Get more help at https://help.gradle.org/

BUILD FAILED in 989ms
1 actionable task: 1 executed

我的解答思路和尝试过的方法

试过使用 mavem和gradle

我想要达到

获得jar文件

这是idea开发的,导入项目到idea开发工具,然后打包即可生成。

您好,我是有问必答小助手,您的问题已经有小伙伴帮您解答,感谢您对有问必答的支持与关注!
PS:问答VIP年卡 【限时加赠:IT技术图书免费领】,了解详情>>> https://vip.csdn.net/askvip?utm_source=1146287632