运行 Gradle 来自 Intellij 的任务

Run Gradle tasks from Intellij

我通常在 cygwin 中 运行 Gradle 任务(xx.sh 文件),我想知道我是否可以从我的 IDE、Intellij 中 运行 它们。我已经安装了 BashSupport 插件,但不知道如何创建 bash 启动配置。由于我是超级新手,因此将不胜感激。

此外,有人能告诉我什么是 good/bad 关于来自 Intellij 而不是来自 cygwin 的 运行ning 任务吗?

是的,IDEA 支持Gradle。首先,如果您还没有安装 Gradle 插件,则应该安装它。然后你需要一个 build.gradle 并将项目导入为 Gradle 项目。

关于这个

A kind, step-by-step instruction would be appreciated since I am super new.

嗯,there is no such thing as a free lunch。做其他人做的事:阅读文档并学习。 @nkr 给了你第一个提示。不要指望别人会做你的工作。