Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for showViolations (0.23 sec)

  1. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/Checkstyle.java

         */
        @Console
        public boolean isShowViolations() {
            return showViolations;
        }
    
        /**
         * Whether rule violations are to be displayed on the console.
         */
        public void setShowViolations(boolean showViolations) {
            this.showViolations = showViolations;
        }
    
        /**
         * Enable the use of external DTD files in configuration files.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 19 14:14:12 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/dsl/org.gradle.api.plugins.quality.Checkstyle.xml

                    <td>ignoreFailures</td>
                    <td><literal>project.checkstyle.ignoreFailures</literal></td>
                </tr>
                <tr>
                    <td>showViolations</td>
                    <td><literal>project.checkstyle.showViolations</literal></td>
                </tr>
                <tr>
                    <td>maxErrors</td>
                    <td><literal>project.checkstyle.maxErrors</literal></td>
                </tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CheckstyleInvoker.groovy

            this.parameters = parameters
        }
    
        @SuppressWarnings("UnusedDeclaration")
        void execute(AntBuilderDelegate ant) {
            def source = parameters.source.asFileTree
            def showViolations = parameters.showViolations.get()
            def maxErrors = parameters.maxErrors.get()
            def maxWarnings = parameters.maxWarnings.get()
            def configProperties = parameters.configProperties.getOrElse([:])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/mavenMigration/basic/groovy/build.gradle

    processResources {
        expand(version: version, buildNumber: currentBuildNumber)
    }
    // end::process-resources[]
    
    // tag::checkstyle[]
    checkstyle {
        config = resources.text.fromFile('checkstyle.xml', 'UTF-8')
        showViolations = true
        ignoreFailures = false
    }
    // end::checkstyle[]
    
    // tag::depends-on[]
    test.mustRunAfter checkstyleMain, checkstyleTest
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 940 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/dsl/org.gradle.api.plugins.quality.CheckstyleExtension.xml

                </tr>
                <tr>
                    <td>enableExternalDtdLoad</td>
                    <td><literal>false</literal></td>
                </tr>
                <tr>
                    <td>showViolations</td>
                    <td><literal>true</literal></td>
                </tr>
                <tr>
                    <td>maxErrors</td>
                    <td><literal>0</literal></td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/CheckstylePlugin.java

            taskMapping.map("config", (Callable<TextResource>) () -> extension.getConfig());
            taskMapping.map("configProperties", (Callable<Map<String, Object>>) () -> extension.getConfigProperties());
            taskMapping.map("showViolations", (Callable<Boolean>) () -> extension.isShowViolations());
            taskMapping.map("maxErrors", (Callable<Integer>) () -> extension.getMaxErrors());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 08:01:57 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginVersionIntegrationTest.groovy

            given:
            defaultLanguage('en')
            badCode()
            fails("check")
            failure.assertHasErrorOutput(message)
    
            when:
            buildFile << "checkstyle { showViolations = false }"
            fails("check")
    
            then:
            failure.assertHasDescription("Execution failed for task ':checkstyleMain'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 19.2K bytes
    - Viewed (0)
Back to top