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

Build failed with an exception when creating Theme Extension #108

Closed sukhova closed 5 years ago

sukhova commented 5 years ago

Environment

Description of the bug or enhancement

  1. Create a new project via CUBA Studio
  2. Create Theme Extension
  3. Try to start the application

AR:

Task :app-web:buildScssThemes FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app-web:buildScssThemes'.
> org.codehaus.groovy.runtime.DefaultGroovyMethods.collect(Ljava/lang/Iterable;Lgroovy/lang/Closure;)Ljava/util/List;
Unable to find method 'org.codehaus.groovy.runtime.DefaultGroovyMethods.collect(Ljava/lang/Iterable;Lgroovy/lang/Closure;)Ljava/util/List;'.
Possible causes for this unexpected error include:
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)

The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)

Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.

In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
jreznot commented 5 years ago

Due to changes in #99

dtsaryov commented 5 years ago

The problem is caused by wrong Gradle wrapper version.