[
https://issues.apache.org/jira/browse/OFBIZ-11661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17100777#comment-17100777 ]
Jacques Le Roux commented on OFBIZ-11661:
-----------------------------------------
Hi James,
We have an issue with the Gradle check task
https://ci.apache.org/builders/ofbizTrunkFrameworkPlugins/builds/1325/steps/shell_2/logs/stdioI reproduce locally:
{noformat}
C:\projectsASF\Git\ofbiz-framework>g check
C:\projectsASF\Git\ofbiz-framework>gradlew check
Downloading
https://services.gradle.org/distributions/gradle-6.3-bin.zip.................................................................................................
Welcome to Gradle 6.3!
Here are the highlights of this release:
- Java 14 support
- Improved error messages for unexpected failures
For more details see
https://docs.gradle.org/6.3/release-notes.htmlStarting a Gradle Daemon (subsequent builds will be faster)
> Configure project :
You are using one or more deprecated Asciidoctor Gradle plugin features. To help with migration run with --warning-mode=all.
> Task :compileJava
> Task :compileGroovy
> Task :processResources
> Task :classes
> Task :checkstyleMain FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':checkstyleMain'.
> Unable to create Root Module: config {C:\projectsASF\Git\ofbiz-framework\config\checkstyle\checkstyle.xml}, classpath {C:\projectsASF\Git\ofbiz-framework\build\classes\java\main;C:\projectsASF\Git\ofbiz-framework\build\classes\groovy\m
ain;C:\projectsASF\Git\ofbiz-framework\build\resources\main;Z:\Gradle\caches\modules-2\files-2.1\org.apache.tika\tika-parsers\1.24\282c0ecd31cb235f7d96bef18b8cdcb56573a195\tika-parsers-1.24.jar;Z:\Gradle\caches\modules-2\files-2.1\org.ow
{noformat}
Same when runnin build task which chains check task. I did not find yet a solution...
> Upgrade Gradle and Groovy
> -------------------------
>
> Key: OFBIZ-11661
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11661> Project: OFBiz
> Issue Type: Improvement
> Components: Gradle
> Affects Versions: Trunk
> Reporter: James Yong
> Assignee: James Yong
> Priority: Minor
> Fix For: Upcoming Branch
>
>
> Current Gradle version used in OFBiz trunk is 5.0.
> Propose to update to Gradle 6.3 which is the current stable version.
> Gradle 6.3 requires groovy 2.5.10, but Groovy version used in OFBiz trunk is 2.5.8.
> Suggest to upgrade Groovy to 2.5.11 which is the current stable version.
> For Gradle upgrade, I ran: ./gradlew wrapper --gradle-version=6.3 --distribution-type=bin
> For Groovy upgrade, I updated the build.gradle with the new Groovy version.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)