forked from apache/lucene
-
Notifications
You must be signed in to change notification settings - Fork 0
/
workflow.txt
50 lines (35 loc) · 1.28 KB
/
workflow.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Typical workflow and tasks
==========================
This shows some typical workflow gradle commands.
Ensure your changes are correctly formatted (run "gradlew :helpFormatting" for more):
gradlew tidy
Run tests on a module:
gradlew -p lucene/core test
Run test of a single-class (run "gradlew :helpTests" for more):
gradlew -p lucene/core test --tests "*Demo*"
Run all tests and validation checks on a module:
gradlew -p lucene/core check
Run all tests and validation checks on everything:
gradlew check
Run all validation checks but skip all tests:
gradlew check -x test
Assemble a single module's JAR (here for lucene-core):
gradlew -p lucene/core assemble
ls lucene/core/build/libs
Assemble all Lucene artifacts (JARs, and so on):
gradlew assemble
Create all distributable packages, POMs, etc. and create a
local maven repository for inspection:
gradlew mavenLocal
ls -R build/maven-local/
Assemble Javdocs on a module:
gradlew -p lucene/core javadoc
ls lucene/core/build/docs
Assemble entire documentation (including javadocs):
gradlew documentation
ls lucene/documentation/build/site
Other validation and checks
===========================
Generate a report of dependencies with known OWASP vulnerabilities:
gradlew :dependencyCheckAnalyze
open ./build/reports/dependency-check-report.html