Building Project » History » Version 2
Alexander Kamkin, 01/10/2020 06:06 PM
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 | * @./gradlew clean@ |
||
8 | - Clean the previous build |
||
9 | * @./gradlew assemble@ |
||
10 | - Build the distribution package |
||
11 | * @./gradlew test@ |
||
12 | - Run the unit tests |
||
13 | * @./gradlew build@ |
||
14 | - Build the distribution package |
||
15 | - Run the unit tests |
||
16 | * @./gradlew release@ |
||
17 | - 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 |