You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/31 18:32:00 UTC

[jira] [Commented] (GROOVY-8421) checkstyle build cleanup

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

ASF GitHub Bot commented on GROOVY-8421:
----------------------------------------

GitHub user h2gr opened a pull request:

    https://github.com/apache/groovy/pull/736

    Fix for the GROOVY-8421 issue.

    Avoiding Gradle deprecation warnings about registering invalid task inputs by not adding the checkstyle HTML report generation task in subprojects with no Java source files.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/h2gr/groovy GROOVY-8421

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/groovy/pull/736.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #736
    
----
commit a6eca020ef2d3f6a3478c392c13e75d0932d5f22
Author: H2 <ha...@...>
Date:   2018-05-31T18:29:25Z

    Avoiding Gradle deprecation warnings about registering invalid task inputs by not adding the checkstyle HTML report generation task in subprojects with no Java source files.
    
    Fixes the GROOVY-8421 issue.

----


> checkstyle build cleanup
> ------------------------
>
>                 Key: GROOVY-8421
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8421
>             Project: Groovy
>          Issue Type: Task
>            Reporter: Paul King
>            Priority: Minor
>              Labels: contrib
>
> For subprojects not containing Java sources, i.e. Groovy only we get warnings like:
> {noformat}
> > Task :groovy-groovysh:checkstyleMainReport
> A problem was found with the configuration of task ':groovy-groovysh:checkstyleMainReport'. Registering invalid inputs and outputs via TaskInputs and TaskOutputs methods has been deprecated and is scheduled to be removed in Gradle 5.0.
>  - File 'C:\Projects\groovy\subprojects\groovy-groovysh\target\reports\checkstyle\checkstyleMain.xml' specified for property '$2' does not exist.
> {noformat}
> We should add an appropriate guard or not apply plugin for this case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)