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

Fix buildWar and buildUberJar tasks for new frontend #129

Closed knstvk closed 4 years ago

knstvk commented 4 years ago

Environment

Description of the bug or enhancement

In order to build WAR with the new React frontend, one needs to set this ugly property:

task buildWar(type: CubaWarBuilding) {
    // ...
    polymerBuildDir = '../build'
}

Let's create a new property, say frontBuildDir, set appropriate default for it, and deprecate polymerBuildDir.

Changes