tsgrp / OpenContent

TSG's Web Services for ECM Repositories
8 stars 4 forks source link

OC does not build on Gradle 5.x #90

Closed dgrumieaux closed 5 years ago

dgrumieaux commented 5 years ago

Looks like some features in our Gradle build are deprecated in the Gradle 5.x. Here is the error I am seeing:

C:\dev\trunk\oc\projects\tsg\hpi-demo-alf>gradle amp
Starting a Gradle Daemon (subsequent builds will be faster)

> Configure project :
Maven props found: C:\dev\trunk\oc\projects\tsg\hpi-demo-alf\..\..\..\build-files\..\build-files\tsg-maven.properties
Maven props found: C:\dev\trunk\oc\projects\tsg\hpi-demo-alf\..\..\..\build-files\..\modules\tsg\2.alfrescoEmb\tsg-maven.properties
Build environment is set to DEMING2
Found properties file build-DEMING2.properties
Found overlay directory callisto
Overlay dir is: C:\dev\trunk\oc\projects\tsg\hpi-demo-alf/overlay/callisto

############################################################

FAILURE: Build failed with an exception.

* Where:
Script 'C:\dev\trunk\oc\build-files\build.gradle' line: 123

* What went wrong:
A problem occurred evaluating script.
> Could not get unknown property 'GradleVersion' for root project 'oc-hpiDemoAlf' of type org.gradle.api.Project.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 26s

C:\dev\trunk\oc\projects\tsg\hpi-demo-alf>
dgrumieaux commented 5 years ago

closing in favor of https://github.com/tsgrp/HPI/issues/1811