User Tools

Site Tools


tutorial:setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tutorial:setup [2020/04/27 06:25]
upcraftlp ./gradlew, not .gradlew
tutorial:setup [2020/05/11 15:25] (current)
2xsaiko [Manual Steps] Less convoluted way of setting compiler output for IDEA
Line 32: Line 32:
     - Open the '​Gradle Settings'​ dialog from the Gradle tab.     - Open the '​Gradle Settings'​ dialog from the Gradle tab.
     - Change the 'Build and run using' and 'Run tests using' fields to '​IntelliJ IDEA'.     - Change the 'Build and run using' and 'Run tests using' fields to '​IntelliJ IDEA'.
-    - Go to File -> Project Structure -> Project and set '​Project compiler output'​ to the '​out' ​subdirectory of your project, if it isn't set yet. This directory doesn'​t have to exist, IDEA will create it when compiling the project for the first time. (Tip: Use the '​Project Directory' ​button in the directory select dialog to quickly jump to your project directory.)+    - Go to File -> Project Structure -> Project and set '​Project compiler output'​ to ''​$PROJECT_DIR$/​out''​.
  
 Unfortunately,​ it is currently impossible to set an IDE-wide default for the 'Build and run using' and 'Run tests using' options, so these steps have to be repeated for every new project. Unfortunately,​ it is currently impossible to set an IDE-wide default for the 'Build and run using' and 'Run tests using' options, so these steps have to be repeated for every new project.
tutorial/setup.txt · Last modified: 2020/05/11 15:25 by 2xsaiko