Actions
Building » History » Revision 9
« Previous |
Revision 9/16
(diff)
| Next »
Sergey Smolov, 01/11/2020 04:32 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¶
- Install Buildship Gradle integration plugin for Eclipse IDE.
- Create
init.gradle
file in the $HOME/.gradle directory and write the following to it:allprojects { apply plugin: 'eclipse' it.eclipse { classpath.downloadJavadoc = true } }
- Import Retrascope sources into Eclipse workspace:
- Use the menu item "File/Import...".
- Choose "Gradle/Gradle Project".
- Select the Retrascope directory as the root directory, press "Next".
- Select the "Gradle wrapper (recommended)" import option.
- Press the "Finish" button: the project will be opened in the Eclipse IDE.
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