blob: 2468f967691c01054d75def6f50599926895cbca [file] [log] [blame] [view]
Alexander Afanasyev8e9330f2016-01-25 19:13:40 -08001# Developer Notes
2
3## Compile
4
5To compile:
6
7 ./gradlew assemble
8
9Note: when compiling on Windows, replace `./gradlew` with `gradlew` or `gradlew.bat`.
10
11To build documentation:
12
13 ./gradlew javadoc
14
15To build all artifacts and publish to a local maven repository:
16
17 ./gradlew install
18
19To publish to maven repository `signing.keyId`, `signing.password`, `signing.secretKeyRingFile`,
20`ossrhUsername`, and `ossrhPassword` variables need to be defined in project-specific or
21user-specific `gradle.properties` file. After the variables defined, run the following command
22to build, sign, and upload archives to maven:
23
24 ./gradlew uploadArchives
25
26To get list of other targets, use `./gradlew tasks`.
27
Davide Pesaventoc2a65702020-04-17 23:30:27 -040028## Tests
29
Alexander Afanasyev8e9330f2016-01-25 19:13:40 -080030### Unit Tests
31
32To run unit tests:
33
34 ./gradlew test
35
36To run a specific test or test case, use `--tests=<test-name>[.<test-case>]` command-line option. For example,
37
38 ./gradlew test --tests *MockFaceTest
39 ./gradlew test --tests *MockFaceTest.ExpressInterest