Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 50 for checkstyle (0.07 seconds)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

            CheckstyleExtension checkstyle = project.getExtensions().getByType(CheckstyleExtension.class);
            tasks.register("checkstyleApi", Checkstyle.class, task -> {
                task.source(extension.getDocumentedSource());
                // TODO: This is ugly
                task.setConfig(project.getResources().getText().fromFile(checkstyle.getConfigDirectory().file("checkstyle-api.xml")));
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 02 14:18:24 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  2. build.gradle.kts

            languageVersion.set(JavaLanguageVersion.of(17))
          }
        }
      }
    
      tasks.withType<Checkstyle>().configureEach {
        exclude("**/CipherSuite.java")
      }
    
      val checkstyleConfig: Configuration by configurations.creating
      dependencies {
        checkstyleConfig(rootProject.libs.checkStyle) {
          isTransitive = false
        }
      }
    
      val androidSignature by configurations.creating
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 11.5K bytes
    - Click Count (1)
  3. compat/maven-model-builder/pom.xml

      <description>The effective model builder, with inheritance, profile activation, interpolation, ...</description>
    
      <properties>
        <!-- in: DefaultModelValidator, DefaultModelBuilder -->
        <checkstyle.violation.ignore>FileLength</checkstyle.violation.ignore>
      </properties>
    
      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-annotations</artifactId>
        </dependency>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. okhttp/build.gradle.kts

      // OkHttp requires Java 8+.
      jvmSignature(rootProject.libs.codehaus.signature.java18) { artifact { type = "signature" } }
    
      checkstyleConfig(rootProject.libs.checkStyle) {
        isTransitive = false
      }
    }
    
    // Animal Sniffer confirms we generally don't use APIs not on Java 8.
    configure<AnimalSnifferExtension> {
      annotation = "okhttp3.internal.SuppressSignatureCheck"
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  5. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    plugin, so following best practices is relatively straightforward.  For core plugins in gradle/gradle, it's easy for an object to be created without applying its associated plugin. For instance, Spring has a plugin that uses the Checkstyle task directly without applying the Checkstyle plugin.
    
    Until we can provide the same guarantees for core plugins, we need to be more conservative for existing classes and not follow best practices. This means conventions need to be set in both a plugin and the...
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Oct 15 20:00:57 GMT 2024
    - 10K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

        // org.apache.maven:maven-plugin-api                -(PARENT)->
        // org.apache.maven:maven                           -(inherited REPORTING)->
        // org.apache.maven.plugins:maven-checkstyle-plugin -(DEPENDENCY)->
        // org.apache.maven:maven-plugin-api
        // In this case, both the verify and the report goals are called
        // in a different lifecycle. Though the compiler-plugin has a valid use case, although
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 10.3K bytes
    - Click Count (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

            java.lang
            """.stripIndent()
    
            new File(projectDir, "build.gradle") << """
                plugins {
                    id 'java'
                    id 'checkstyle'
                    id 'gradlebuild.documentation'
                }
    
                repositories {
                    mavenCentral()
                }
    
                gradleDocumentation {
                    javadocs {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Aug 21 16:24:54 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

        verifyComplexMessage(expected);
      }
    
      public void testCheckState_simple_success() {
        checkState(true);
      }
    
      public void testCheckState_simple_failure() {
        assertThrows(IllegalStateException.class, () -> checkState(false));
      }
    
      public void testCheckState_simpleMessage_success() {
        checkState(true, IGNORE_ME);
      }
    
      public void testCheckState_simpleMessage_failure() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19K bytes
    - Click Count (0)
  9. guava/src/com/google/common/math/PairedStatsAccumulator.java

       */
      public final double pearsonsCorrelationCoefficient() {
        checkState(count() > 1);
        if (isNaN(sumOfProductsOfDeltas)) {
          return NaN;
        }
        double xSumOfSquaresOfDeltas = xStats.sumOfSquaresOfDeltas();
        double ySumOfSquaresOfDeltas = yStats.sumOfSquaresOfDeltas();
        checkState(xSumOfSquaresOfDeltas > 0.0);
        checkState(ySumOfSquaresOfDeltas > 0.0);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/math/PairedStats.java

       */
      public double pearsonsCorrelationCoefficient() {
        checkState(count() > 1);
        if (isNaN(sumOfProductsOfDeltas)) {
          return NaN;
        }
        double xSumOfSquaresOfDeltas = xStats().sumOfSquaresOfDeltas();
        double ySumOfSquaresOfDeltas = yStats().sumOfSquaresOfDeltas();
        checkState(xSumOfSquaresOfDeltas > 0.0);
        checkState(ySumOfSquaresOfDeltas > 0.0);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
Back to Top