[英]How to generate gradle run configs in intellij?
How to generate runClient
and runServer
?如何生成
runClient
和runServer
? I downloaded sources of TheQuarkMod for 1.16.5 from GitHub and I don't know how can I generate run configs in IntelliJ.我从 GitHub 下载了 1.16.5 的 TheQuarkMod 源,但我不知道如何在 IntelliJ 中生成运行配置。
Using Windows 10 and Java 8 (for this project - I have Installed Java 15 [or maybe Java 14 or Java 16])? Using Windows 10 and Java 8 (for this project - I have Installed Java 15 [or maybe Java 14 or Java 16])?
Add apply plugin: 'idea'
under apply plugin: 'eclipse'
in the build.gradle
.在
build.gradle
中的apply plugin: 'eclipse'
下添加apply plugin: 'idea'
。
Then you can use gradlew genIntellijRuns
to generate the runs, gradlew idea
to create an Intellij project and gradlew openIdea
to open it.然后您可以使用
gradlew genIntellijRuns
生成运行,使用gradlew idea
创建 Intellij 项目并使用gradlew openIdea
打开它。
Use ./gradlew
if you are using a UNIX-based System.如果您使用的是基于 UNIX 的系统,请使用
./gradlew
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.