Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 68 for Pmd (0.02 sec)

  1. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginDependenciesIntegrationTest.groovy

            then:
            failure.assertHasCause("Incremental analysis only supports PMD 6.0.0 and newer. Please upgrade from PMD 5.1.1 or disable incremental analysis.")
    
            when:
            fails("pmdTest")
    
            then:
            failure.assertHasCause("Incremental analysis only supports PMD 6.0.0 and newer. Please upgrade from PMD 5.1.1 or disable incremental analysis.")
    
            when:
            fails("check")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/PmdExtension.java

        }
    
        /**
         * Whether or not to write PMD results to {@code System.out}.
         */
        public void setConsoleOutput(boolean consoleOutput) {
            this.consoleOutput = consoleOutput;
        }
    
        /**
         * Controls whether to use incremental analysis or not.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdCustomRulesIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.api.plugins.quality.pmd
    
    class PmdCustomRulesIntegrationTest extends AbstractPmdPluginVersionIntegrationTest {
    
        def "overrides default rules if custom rules are configured"() {
            given:
            buildFile << """
                plugins {
                    id "pmd"
                    id "java-library"
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/PmdAction.java

    import org.gradle.api.internal.project.antbuilder.AntBuilderDelegate;
    
    /**
     * Action to be run via the Worker API which executes a Pmd Ant task.
     */
    public abstract class PmdAction extends AntWorkAction<PmdActionParameters> {
    
        @Override
        protected String getActionName() {
            return "pmd";
        }
    
        @Override
        protected Action<AntBuilderDelegate> getAntAction() {
            return new PmdInvoker(getParameters());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. testing/integ-test/src/integTest/groovy/org/gradle/integtests/PluginConfigurationAttributesIntegrationTest.groovy

            where:
            plugin       | configuration
            'antlr'      | 'antlr'
            'codenarc'   | 'codenarc'
            'jacoco'     | 'jacocoAgent'
            'jacoco'     | 'jacocoAnt'
            'pmd'        | 'pmd'
            'checkstyle' | 'checkstyle'
            'scala'      | 'zinc'
            'war'        | 'providedRuntime'
            'war'        | 'providedCompile'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginSubtypeParamIntegrationTest.groovy

                """
            } else {
                buildFile << """
                    pmd {
                        toolVersion = '$version'
                        ruleSetConfig = resources.text.fromString('''<?xml version="1.0"?>
                            <ruleset name="Unused Code">
                                <description>Copy of https://github.com/pmd/pmd/blob/master/pmd-java/src/main/resources/rulesets/java/unusedcode.xml without deprecations.</description>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 07:47:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/AbstractPmdPluginVersionIntegrationTest.groovy

            """
                <ruleset name="custom"
                    xmlns="http://pmd.sf.net/ruleset/1.0.0"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
                    xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
    
                    <description>Custom rule set</description>
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesCodeQualityIntegrationTest.groovy

            buildDir.file('reports/codenarc/main.html').assertIsFile()
            buildDir.file('reports/codenarc/test.html').assertIsFile()
            buildDir.file('reports/pmd/main.html').assertIsFile()
            buildDir.file('reports/pmd/main.xml').assertIsFile()
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. testing/architecture-test/src/changes/archunit-store/provider-text-resource.txt

    Method <org.gradle.api.plugins.quality.CodeNarc.getConfig()> has raw return type org.gradle.api.resources.TextResource in (CodeNarc.java:0)
    Method <org.gradle.api.plugins.quality.Pmd.getRuleSetConfig()> has raw return type org.gradle.api.resources.TextResource in (Pmd.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 567 bytes
    - Viewed (0)
  10. testing/architecture-test/src/changes/archunit-store/provider-task-file-collection.txt

    Method <org.gradle.api.plugins.quality.Pmd.getClasspath()> does not have raw return type assignable to org.gradle.api.file.ConfigurableFileCollection in (Pmd.java:0)
    Method <org.gradle.api.plugins.quality.Pmd.getPmdClasspath()> does not have raw return type assignable to org.gradle.api.file.ConfigurableFileCollection in (Pmd.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top