Change :apitest:test task system property name

The property name 'force' is changed 'runApiTests'.

To run the :apitest test task:

    ./gradlew :apitest:test -DrunApiTests=true
This commit is contained in:
ghubstan 2020-07-20 12:33:47 -03:00
parent bf584c218f
commit 591c8b295c
No known key found for this signature in database
GPG key ID: E35592D6800A861E

View file

@ -571,7 +571,7 @@ configure(project(':apitest')) {
// https://github.com/bisq-network/bisq/raw/master/docs/dao-setup.zip
// These tasks are not run by the default build, but they can can be run during
// full or partial builds, or by themselves.
// To run a full Bisq clean build, test, and install dao-setup files:
// To run the regular clean + build + test (non api), and install dao-setup files:
// ./gradlew clean build :apitest:installDaoSetup
// To install or re-install dao-setup file only:
// ./gradlew :apitest:installDaoSetup -x test
@ -581,11 +581,9 @@ configure(project(':apitest')) {
// We have to disable the :apitest 'test' task by default because we do not want
// to interfere with normal builds. To run JUnit tests in this subproject:
// Run a normal build and install dao-setup files:
// 'gradle clean build :apitest:installDaoSetup'
// Run apitest tests cases
// 'gradle :apitest:test' -Dforce=true
test.enabled = System.getProperty("force") == "true"
// Run a normal build and install dao-setup files first, then run:
// 'gradle :apitest:test -DrunApiTests=true'
test.enabled = System.getProperty("runApiTests") == "true"
sourceSets {
main {