Building Project » History » Version 3
Sergey Smolov, 01/13/2020 11:55 AM
1 | 1 | Alexander Kamkin | h1. Building Project |
---|---|---|---|
2 | |||
3 | h2. Working in command line |
||
4 | |||
5 | In command line, use "Gradle":https://gradle.org (via the wrapper @gradlew@): |
||
6 | |||
7 | 3 | Sergey Smolov | * <pre>$ ./gradlew clean</pre> |
8 | 1 | Alexander Kamkin | - Clean the previous build |
9 | 3 | Sergey Smolov | * <pre>$ ./gradlew assemble</pre> |
10 | 1 | Alexander Kamkin | - Build the distribution package |
11 | 3 | Sergey Smolov | * <pre>$ ./gradlew test</pre> |
12 | 1 | Alexander Kamkin | - Run the unit tests |
13 | 3 | Sergey Smolov | * <pre>$ ./gradlew build</pre> |
14 | 1 | Alexander Kamkin | - Build the distribution package |
15 | - Run the unit tests |
||
16 | 3 | Sergey Smolov | * <pre>$ ./gradlew release</pre> |
17 | 1 | Alexander Kamkin | - Build the distribution package |
18 | - Run the unit tests |
||
19 | - Create the tag |
||
20 | - Publish the distribution package in "Nexus":https://forge.ispras.ru/nexus/ |
||
21 | |||
22 | h2. Working in "IntelliJ IDEA":https://www.jetbrains.com/idea/ |
||
23 | |||
24 | * Open @build.gradle@ as a project |
||
25 | |||
26 | h2. Working in "Eclipse IDE":https://www.eclipse.org/ide/ |
||
27 | |||
28 | * Generate the Eclipse IDE project and classpath files with "Gradle":https://gradle.org: |
||
29 | 2 | Alexander Kamkin | <pre>$ ./gradlew eclipse</pre> |
30 | 1 | Alexander Kamkin | * Create a workspace located in the directory with @microtesk@ |
31 | - Use the menu item @File/Switch Workspace...@ |
||
32 | - Browse the directory |
||
33 | * Import an existing project called @microtesk@ into the workspace |
||
34 | - Use the menu item @File/Import...@ |
||
35 | - Choose @General/Existing Projects into Workspace@ |
||
36 | - Select the @microtesk@ folder as the root directory |
||
37 | - Select the @microtesk@ project located in this directory |
||
38 | - Press the @Finish@ button |