Project

General

Profile

Building Project » History » Version 1

Alexander Kamkin, 01/10/2020 06:05 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
  <pre>
30
  $ ./gradlew eclipse
31
  </pre>
32
* Create a workspace located in the directory with @microtesk@
33
  - Use the menu item @File/Switch Workspace...@
34
  - Browse the directory
35
* Import an existing project called @microtesk@ into the workspace
36
  - Use the menu item @File/Import...@
37
  - Choose @General/Existing Projects into Workspace@
38
  - Select the @microtesk@ folder as the root directory
39
  - Select the @microtesk@ project located in this directory
40
  - Press the @Finish@ button