Actions
Building » History » Revision 10
« Previous |
Revision 10/16
(diff)
| Next »
Sergey Smolov, 01/11/2020 04:34 PM
Building¶
The project build system is based on Gradle. Please either install it first or use wrapper script (we use Gradle 4.10.3 in the wrapper, by the way).
For Windows OS gradlew.bat
script should be used, for Linux-based OS gradlew
script should be used.
From command line¶
To compile main classes run:
gradle classes
To compile testClasses run:
gradle testClasses
To run all unit tests run:
gradle test
To list all Gradle commands run:
gradle tasks
From Eclipse IDE¶
- Generate the Eclipse IDE project and classpath files with Gradle:
$ ./gradlew eclipse
- Create a workspace located in the directory with
retrascope
- Use the menu itemFile/Switch Workspace...
- Browse the directory - Import an existing project called
retrascope
into the workspace
- Use the menu itemFile/Import...
- ChooseGeneral/Existing Projects into Workspace
- Select theretrascope
folder as the root directory
- Select theretrascope
project located in this directory
- Press theFinish
button
From IntelliJ IDEA¶
- Use the "Import Project" menu item.
- Select the
retrascope
directory, press "OK". - Select "Import project from external model" -> "Gradle" item, press "Finish".
Updated by Sergey Smolov almost 5 years ago · 16 revisions