• FEATURES
  • PRICING
  • MARKETPLACE
  • CASE STUDIES
  • BLOG
  • Error in gradle build v6.3.x

    #1

    Hello,
    I am getting an error when running gradle build on the new version of OS. Could you help me resolve it:

    15:23:23.497 [QUIET] [system.out] >> 2 files created 5.29 MB ??? 2 MB
    15:23:23.498 [QUIET] [system.out]
    15:23:23.498 [QUIET] [system.out] Running "filerev:dist" (filerev) task
    15:23:23.520 [QUIET] [system.out] Revved 6 files
    15:23:23.521 [QUIET] [system.out]
    15:23:23.521 [QUIET] [system.out] Running "usemin:html" (usemin) task
    15:23:23.879 [QUIET] [system.out] Replaced 265 references to assets
    15:23:23.880 [QUIET] [system.out]
    15:23:23.880 [QUIET] [system.out] Running "usemin:css" (usemin) task
    15:23:23.888 [QUIET] [system.out] Replaced 2 references to assets
    15:23:23.888 [QUIET] [system.out]
    15:23:23.888 [QUIET] [system.out] Running "htmlmin:dist" (htmlmin) task
    15:23:24.309 [QUIET] [system.out] Warning: dist/modules/administrative/job/search.html
    15:23:24.309 [QUIET] [system.out] Error: Parse Error: <os-select os-md-input ng-model="filterOpts.type" list="types"
    15:23:24.309 [QUIET] [system.out]           select-prop="type" display-prop="caption" class=form-control"
    15:23:24.309 [QUIET] [system.out]           placeholder="{{'jobs.type' | translate}}">
    15:23:24.309 [QUIET] [system.out]         </os-select>
    15:23:24.309 [QUIET] [system.out]       </div>
    15:23:24.309 [QUIET] [system.out]
    15:23:24.309 [QUIET] [system.out]       <os-clear-filters opts="filterOpts"></os-clear-filters>
    15:23:24.309 [QUIET] [system.out]     </div>
    15:23:24.309 [QUIET] [system.out]   </div>
    15:23:24.310 [QUIET] [system.out]
    15:23:24.310 [QUIET] [system.out]   <os-list-page-size opts="pagerOpts" on-change="pageSizeChanged()"></os-list-page-size>
    15:23:24.310 [QUIET] [system.out] </div>  Use --force to continue.
    15:23:24.310 [QUIET] [system.out]
    15:23:24.310 [QUIET] [system.out] Aborted due to warnings.
    15:23:24.352 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: FAILED
    15:23:24.352 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Process 'command 'grunt'' finished with exit value 6 (state: FAILED)
    15:23:24.353 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Completing Build operation 'Execute exec for :grunt_build'
    15:23:24.353 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Execute exec for :grunt_build' completed
    15:23:24.353 [DEBUG] [org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter] Removed task artifact state for {} from context.
    15:23:24.353 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':grunt_build'
    15:23:24.354 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Completing Build operation 'Task :grunt_build'
    15:23:24.296 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger]
    15:23:24.296 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] > Task :grunt_build FAILED
    15:23:24.354 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Task :grunt_build' completed
    15:23:24.355 [INFO] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] :grunt_build (Thread[Task worker for ':',5,main]) completed. Took 1 mins 5.689 secs.
    15:23:24.355 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Task worker for ':': released lock on :
    15:23:24.355 [DEBUG] [org.gradle.internal.work.DefaultWorkerLeaseService] Worker lease root.1.5 completed (1 worker(s) in use)
    15:23:24.355 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Task worker for ':': released lock on root.1.5
    15:23:24.355 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Task worker for ':',5,main]] finished, busy: 1 mins 38.626 secs, idle: 0.035 secs
    15:23:24.355 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Task worker for ':' Thread 3,5,main]] finished, busy: 0.0 secs, idle: 1 mins 38.654 secs
    15:23:24.356 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Task worker for ':' Thread 2,5,main]] finished, busy: 0.0 secs, idle: 1 mins 38.661 secs
    15:23:24.356 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Daemon worker Thread 2,5,main]] finished, busy: 0.0 secs, idle: 1 mins 38.655 secs
    15:23:24.356 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskExecutionGraph] Timing: Executing the DAG took 1 mins 38.666 secs
    15:23:24.357 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Completing Build operation 'Run tasks'
    15:23:24.357 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Run tasks' completed
    15:23:24.359 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
    15:23:24.359 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
    15:23:24.359 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
    15:23:24.359 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
    15:23:24.359 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':grunt_build'.
    15:23:24.359 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Process 'command 'grunt'' finished with non-zero exit value 6
    15:23:24.360 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
    15:23:24.360 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
    15:23:24.360 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]  Run with --scan to get full insights.
    15:23:24.360 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
    15:23:24.360 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Exception is:
    15:23:24.361 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':grunt_build'.
    15:23:24.361 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
    15:23:24.361 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
    15:23:24.361 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
    15:23:24.361 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
    15:23:24.361 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
    15:23:24.361 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.ResolveBuildCacheKeyExecuter.execute(ResolveBuildCacheKeyExecuter.java:79)
    15:23:24.361 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
    15:23:24.361 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
    15:23:24.361 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
    15:23:24.361 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
    15:23:24.362 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
    15:23:24.362 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
    15:23:24.362 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
    15:23:24.362 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
    15:23:24.362 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
    15:23:24.362 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
    15:23:24.362 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
    15:23:24.362 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
    15:23:24.362 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
    15:23:24.363 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
    15:23:24.363 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
    15:23:24.363 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
    15:23:24.363 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
    15:23:24.363 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
    15:23:24.363 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
    15:23:24.363 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
    15:23:24.363 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
    15:23:24.363 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
    15:23:24.363 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
    15:23:24.363 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
    15:23:24.363 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
    15:23:24.364 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
    15:23:24.364 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
    15:23:24.364 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: org.gradle.process.internal.ExecException: Process 'command 'grunt'' finished with non-zero exit value 6
    15:23:24.364 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:395)
    15:23:24.364 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.process.internal.DefaultExecAction.execute(DefaultExecAction.java:37)
    15:23:24.364 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.tasks.AbstractExecTask.exec(AbstractExecTask.java:56)
    15:23:24.364 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
    15:23:24.364 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:46)
    15:23:24.364 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
    15:23:24.364 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
    15:23:24.364 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:801)
    15:23:24.365 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:768)
    15:23:24.365 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)
    15:23:24.365 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
    15:23:24.365 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
    15:23:24.365 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
    15:23:24.365 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
    15:23:24.365 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
    15:23:24.365 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
    15:23:24.365 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
    15:23:24.365 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   ... 32 more
    15:23:24.365 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
    15:23:24.366 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
    15:23:24.366 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Get more help at https://help.gradle.org
    15:23:24.366 [WARN] [org.gradle.internal.featurelifecycle.LoggingDeprecatedFeatureHandler]
    Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
    Use '--warning-mode all' to show the individual deprecation warnings.
    See https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warnings
    15:23:24.367 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger]
    15:23:24.367 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 1m 42s
    15:23:24.367 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger] 4 actionable tasks: 2 executed, 2 up-to-date
    15:23:24.433 [QUIET] [com.gradle.scan.plugin.BuildScanPlugin]
    #2

    Solved, rerun build.