Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 38 for checkstyle (0.06 seconds)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

    checkstyle {
        buildLibs?.let {
            toolVersion = buildLibs.findVersion("checkstyle").get().requiredVersion
        }
        config = configFile("checkstyle.xml")
        val projectDirectory = layout.projectDirectory
        configDirectory = rules.elements.map {
            projectDirectory.dir(it.single().asFile.absolutePath).dir("checkstyle")
        }
    }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:47:14 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  2. build-logic/src/main/kotlin/okhttp.quality-conventions.gradle.kts

    }
    fun version(alias: String) = libs.findVersion(alias).get().toString()
    
    tasks.withType<Checkstyle>().configureEach {
      exclude("**/CipherSuite.java")
    }
    
    val checkstyleConfig = configurations.maybeCreate("checkstyleConfig")
    dependencies {
      add("checkstyleConfig", library("checkstyle")) {
        isTransitive = false
      }
    }
    
    configure<CheckstyleExtension> {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  3. .github/workflows/submit-github-dependency-graph.yml

            DEPENDENCY_GRAPH_EXCLUDE_PROJECTS: ':docs|:internal-performance-testing|:enterprise-plugin-performance|:performance|:internal-integ-testing'
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 22:06:44 GMT 2026
    - 933 bytes
    - Click Count (0)
  4. 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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Sun Mar 01 05:52:34 GMT 2026
    - 11.6K 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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  6. gradle/libs.versions.toml

    bouncycastle-bctls = { module = "org.bouncycastle:bctls-jdk15to18", version.ref = "org-bouncycastle" }
    brotli-dec = { module = "org.brotli:dec", version.ref = "brotli-dec" }
    checkstyle = { module = "com.puppycrawl.tools:checkstyle", version.ref = "checkstyle" }
    clikt = { module = "com.github.ajalt.clikt:clikt", version.ref = "clikt" }
    codehaus-signature-java18 = { module = "org.codehaus.mojo.signature:java18", version.ref = "codehaus-signature-java18" }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 31 22:01:48 GMT 2026
    - 12K bytes
    - Click Count (0)
  7. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  8. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/cache/CacheBuilder.java

      @CanIgnoreReturnValue
      public CacheBuilder<K, V> maximumSize(long maximumSize) {
        checkState(
            this.maximumSize == UNSET_INT, "maximum size was already set to %s", this.maximumSize);
        checkState(
            this.maximumWeight == UNSET_INT,
            "maximum weight was already set to %s",
            this.maximumWeight);
        checkState(this.weigher == null, "maximum size can not be combined with weigher");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

      @CanIgnoreReturnValue
      public CacheBuilder<K, V> maximumSize(long maximumSize) {
        checkState(
            this.maximumSize == UNSET_INT, "maximum size was already set to %s", this.maximumSize);
        checkState(
            this.maximumWeight == UNSET_INT,
            "maximum weight was already set to %s",
            this.maximumWeight);
        checkState(this.weigher == null, "maximum size can not be combined with weigher");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 51.7K bytes
    - Click Count (0)
Back to Top