Update instructions for using gradle run tasks and not intellij ones
This commit is contained in:
parent
6ad9a77ebc
commit
eebb7c3f0b
1 changed files with 2 additions and 13 deletions
15
README.md
15
README.md
|
@ -4,20 +4,9 @@
|
|||
|
||||
1. Click `use this template` at the top.
|
||||
2. Clone the repository you have created with this template.
|
||||
3. In the local repository, run the command `gradlew setupDecompWorkspace idea genIntellijRuns`
|
||||
3. In the local repository, run the command `gradlew setupDecompWorkspace idea`
|
||||
4. Open the `.ipr` file in IDEA.
|
||||
5. Right-click in IDEA `build.gradle` of your project, and select `Link Gradle Project`, after completion, hit `Refresh All` in the gradle tab on the right.
|
||||
6. Fix run configs by:
|
||||
|
||||
![](https://i.imgur.com/GBchJpS.png)
|
||||
![](https://i.imgur.com/KlMxgvc.png)
|
||||
|
||||
7. Fix resources not loading when running via the run configs:
|
||||
|
||||
![](https://i.imgur.com/sdZNnH8.png)
|
||||
|
||||
- Change Gradle => IntelliJ IDEA
|
||||
|
||||
![](https://i.imgur.com/7osMDhu.png)
|
||||
6. Instead of running `genIntellijRuns` and using generated IntelliJ tasks, just run `gradlew runClient` and `gradlew runServer`.
|
||||
|
||||
*A checkstyle is coming soon, meaning Cleanroom's projects will use a specific coding style that has to be abided at time of PR/building.*
|
||||
|
|
Loading…
Reference in a new issue