Actions
Building » History » Revision 1
Revision 1/7
| Next »
Sergey Smolov, 12/05/2019 07:12 PM
Building¶
For project building and JUnit tests running we use Gradle. Please install it first (we use Gradle 4.10.3 in the wrapper script, by the way).
Building and running 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
Building and running from Eclipse IDE¶
- Install Buildship Gradle integration plugin for Eclipse IDE (if Gradle support has not provided by the IDE already).
- 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.
Updated by Sergey Smolov about 5 years ago · 7 revisions