Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-2800

Checkstyle plugin does not support reading config file from classpath or via URL

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Resolution: Won't Fix
    • Affects Version/s: 1.6
    • Fix Version/s: None

      Description

      According to [1]http://checkstyle.sourceforge.net/ant... the Checkstyle task can take a config attribute which can be a file, BUT it also can be a relative location which it'll lookup using ClassLoader.getResource(). The Gradle checkstyle task though enforces that the input be a real file.

      Additionally the checkstyle task (via Ant) supports a URL, and Gradle does not expose it that field or possibility.

      [1] http://checkstyle.sourceforge.net/anttask.html

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            forums Gradle Forums
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: