The CUBA Gradle plugin requires interactive accepting of the CUBA license agreement if this is the first build for the current user. This is impossible for an automatic build on a CI server. There are two ways to bypass this interactive step:
-
Create file
${user.home}/.haulmont/license.properties
, where${user.home}
is the home directory of the user that CI-server is running as, and add the following content:accepted=true
-
If creating the file in the user home is not desired, specify the following Gradle command line parameter:
-PlicenseAgreementAccepted=true