cuba-platform / cuba-gradle-plugin

Gradle plugin for building CUBA platform and applications
https://www.cuba-platform.com
Apache License 2.0
15 stars 18 forks source link

CubaDeployment should copy DB scripts only for required database by default #52

Closed jreznot closed 4 years ago

jreznot commented 6 years ago

Environment

Description of the bug or enhancement

When we run:

> gradlew deploy

It copies all the hsql / postgresql / oracle / etc scripts to tomcat. But it is not necessary for typical project.

Let's filter scripts by default in Fast deployment / UberJAR and WAR / Single WAR deployments

dtsaryov commented 4 years ago

Decided not to do this enhancement, because there are cases when WAR or UberJAR are built to be able to work with all databases.