blob: 3f19a977b7e363cdd905f054bb488b6af0b482f3 [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
28### Unit Tests
29
30To run unit tests:
31
32 ./gradlew test
33
34To run a specific test or test case, use `--tests=<test-name>[.<test-case>]` command-line option. For example,
35
36 ./gradlew test --tests *MockFaceTest
37 ./gradlew test --tests *MockFaceTest.ExpressInterest