Getting Could not get unknown property ‘appHome’ for cuba.tomcat.dir error after upgrading to Cuba Studio 7.2

We upgraded our project to the lastest release and now we are getting the following error when trying to open the project:

failed
build.gradle
Could not get unknown property ‘appHome’ for cuba.tomcat.dir: /Users/robertclark/Documents/cloverleaf-etl-configuration-tool/…/tomcat^^ of type CubaPluginExtension

My build.gradle looks like the following where it is erroring out:
task cleanConf(description: ‘Cleans up conf directory’, type: Delete) {
delete “$cuba.appHome/${modulePrefix}-core/conf”
}

Hi,
It seems that there is a syntax error somewhere in the build.gradle file. The code snippet you provide is fine, it’s not where the error is.

To find out all possible discrepancies, you can create a fresh new project using CUBA 7.2 in the Studio, and then compare its build.gradle with your file contents. IDEA’s action “Compare with Clipboard” is very convenient for that.