Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for maxWarnings (0.32 sec)

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

        @Input
        public int getMaxWarnings() {
            return maxWarnings;
        }
    
        /**
         * Set the maximum number of warnings that are tolerated before breaking the build.
         *
         * @param maxWarnings number of warnings allowed
         * @since 3.4
         */
        public void setMaxWarnings(int maxWarnings) {
            this.maxWarnings = maxWarnings;
        }
    
        /**
    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/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/CheckstyleExtension.java

         * <p>
         * Example: maxWarnings = 1000
         *
         * @return the maximum number of warnings allowed
         * @since 3.4
         */
        public int getMaxWarnings() {
            return maxWarnings;
        }
    
        /**
         * Set the maximum number of warnings that are tolerated before breaking the build.
         *
         * @param maxWarnings number of warnings allowed
         * @since 3.4
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CheckstyleInvoker.groovy

            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([:])
            def ignoreFailures = parameters.ignoreFailures.get()
            def config = parameters.config.get()
    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/docs/dsl/org.gradle.api.plugins.quality.Checkstyle.xml

                <tr>
                    <td>maxErrors</td>
                    <td><literal>project.checkstyle.maxErrors</literal></td>
                </tr>
                <tr>
                    <td>maxWarnings</td>
                    <td><literal>project.checkstyle.maxWarnings</literal></td>
                </tr>
                <tr>
                    <td>configProperties</td>
                    <td><literal>project.checkstyle.configProperties</literal></td>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/plugins/precompiledScriptPlugins-inBuildSrc/kotlin/buildSrc/src/main/kotlin/java-library-convention.gradle.kts

    plugins {
        `java-library`
        checkstyle
    }
    
    java {
        sourceCompatibility = JavaVersion.VERSION_11
        targetCompatibility = JavaVersion.VERSION_11
    }
    
    checkstyle {
        maxWarnings = 0
        // ...
    }
    
    tasks.withType<JavaCompile> {
        options.isWarnings = true
        // ...
    }
    
    dependencies {
        testImplementation("junit:junit:4.13")
        // ...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 347 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/plugins/precompiledScriptPlugins-inBuildSrc/groovy/buildSrc/src/main/groovy/java-library-convention.gradle

    plugins {
        id 'java-library'
        id 'checkstyle'
    }
    
    java {
        sourceCompatibility = JavaVersion.VERSION_11
        targetCompatibility = JavaVersion.VERSION_11
    }
    
    checkstyle {
        maxWarnings = 0
        // ...
    }
    
    tasks.withType(JavaCompile) {
        options.warnings = true
        // ...
    }
    
    dependencies {
        testImplementation("junit:junit:4.13")
        // ...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 353 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/groovy/convention-plugins/src/main/groovy/com.myorg.java-conventions.gradle

    }
    
    // Use the Checkstyle rules provided by the convention plugin
    // Do not allow any warnings
    checkstyle {
        config = resources.text.fromString(com.example.CheckstyleUtil.getCheckstyleConfig("/checkstyle.xml"))
        maxWarnings = 0
    }
    
    // Enable deprecation messages when compiling Java code
    tasks.withType(JavaCompile).configureEach {
        options.compilerArgs << "-Xlint:deprecation"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 914 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/main/kotlin/com.myorg.java-conventions.gradle.kts

    }
    
    // Use the Checkstyle rules provided by the convention plugin
    // Do not allow any warnings
    checkstyle {
        config = resources.text.fromString(com.example.CheckstyleUtil.getCheckstyleConfig("/checkstyle.xml"))
        maxWarnings = 0
    }
    
    // Enable deprecation messages when compiling Java code
    tasks.withType<JavaCompile>().configureEach {
        options.compilerArgs.add("-Xlint:deprecation")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 909 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/kotlin/buildSrc/src/main/kotlin/myproject.java-conventions.gradle.kts

    }
    
    // Use the Checkstyle rules provided by the convention plugin
    // Do not allow any warnings
    checkstyle {
        config = resources.text.fromString(com.example.CheckstyleUtil.getCheckstyleConfig("/checkstyle.xml"))
        maxWarnings = 0
    }
    
    // Enable deprecation messages when compiling Java code
    tasks.withType<JavaCompile>().configureEach {
        options.compilerArgs.add("-Xlint:deprecation")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 909 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/groovy/convention-plugins/src/main/groovy/com.myorg.java-conventions.gradle

    }
    
    // Use the Checkstyle rules provided by the convention plugin
    // Do not allow any warnings
    checkstyle {
        config = resources.text.fromString(com.example.CheckstyleUtil.getCheckstyleConfig("/checkstyle.xml"))
        maxWarnings = 0
    }
    
    // Enable deprecation messages when compiling Java code
    tasks.withType(JavaCompile).configureEach {
        options.compilerArgs << "-Xlint:deprecation"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 914 bytes
    - Viewed (0)
Back to top