HSQL cannot connect, startDb task missing in buildfile [6.6.1]

Trying to start application from command line with gradle start, tomcat console shows the following error :

Caused by: org.hsqldb.HsqlException: java.net.ConnectException: Connection refused: connect
        at org.hsqldb.ClientConnection.openConnection(Unknown Source)
        at org.hsqldb.ClientConnection.initConnection(Unknown Source)
        at org.hsqldb.ClientConnection.<init>(Unknown Source)
        ... 27 common frames omitted
Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.DualStackPlainSocketImpl.connect0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)

Which means HSQL server didn’t start, looking at another thread (Trying to create a Test database for HSQLDB via Gradle Task :-( - CUBA.Platform) and documentation CUBA Platform. Developer’s Manual i see that there is a startDb task that should be run before start if i understand correctly, however, buildfile does not have startDb task, why is that? and how do I start HSQL from command line? if i start application from the studio with ‘start application’ button it works fine.

startDb task can be defined in buildfile like :

task startDb(type: CubaHsqlStart) {
	    dbName = 'demo'
	}    

and running gradle startDb fill start HSQL server. HSQL server is also started automatically if project is opened in studio