[jira] [Commented] (OFBIZ-11661) Upgrade Gradle and Groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-11661) Upgrade Gradle and Groovy

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-11661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17100780#comment-17100780 ]

Jacques Le Roux commented on OFBIZ-11661:
-----------------------------------------

OK this remembers something I already fight with:

{noformat}
gradlew check --stacktrace
[...]
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot initialize module TreeWalker - TreeWalker is not allowed as a parent of LineLength Please review 'Parent Module' section for this Check in web documentation if
eck is standard.
        at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:472)
        at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:198)
        at com.puppycrawl.tools.checkstyle.ant.CheckstyleAntTask.createRootModule(CheckstyleAntTask.java:402)
        ... 111 more
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: TreeWalker is not allowed as a parent of LineLength Please review 'Parent Module' section for this Check in web documentation if Check is standard.
        at com.puppycrawl.tools.checkstyle.TreeWalker.setupChild(TreeWalker.java:147)
        at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:198)
        at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:467)
        ... 113 more
{noformat}

Looking at it...

> 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)