Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for spotbugs (0.16 sec)

  1. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/SpotBugsPluginSmokeTest.groovy

        @Issue('https://plugins.gradle.org/plugin/com.github.spotbugs')
        @Requires(UnitTestPreconditions.Jdk11OrEarlier)
        def 'spotbugs plugin'() {
            given:
            buildFile << """
                import com.github.spotbugs.snom.SpotBugsTask
    
                plugins {
                    id 'java'
                    id 'com.github.spotbugs' version '${TestedVersions.spotbugs}'
                }
    
                ${mavenCentralRepository()}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/groovy/buildSrc/src/main/groovy/myproject.java-conventions.gradle

    // Define Java conventions for this organization.
    // Projects need to use the Java, Checkstyle and Spotbugs plugins.
    
    // tag::apply-external-plugin[]
    plugins {
        id 'java'
        id 'checkstyle'
    
        // NOTE: external plugin version is specified in implementation dependency artifact of the project's build file
        id 'com.github.spotbugs'
    }
    // end::apply-external-plugin[]
    
    // Projects should use Maven Central for external dependencies
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 914 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/main/kotlin/com.myorg.java-conventions.gradle.kts

    // Define Java conventions for this organization.
    // Projects need to use the Java, Checkstyle and Spotbugs plugins.
    
    // tag::apply-external-plugin[]
    plugins {
        java
        checkstyle
    
        // NOTE: external plugin version is specified in implementation dependency artifact of the project's build file
        id("com.github.spotbugs")
    }
    // end::apply-external-plugin[]
    
    // Projects should use Maven Central for external dependencies
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 909 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/groovy/convention-plugins/src/main/groovy/com.myorg.java-conventions.gradle

    // Define Java conventions for this organization.
    // Projects need to use the Java, Checkstyle and Spotbugs plugins.
    
    // tag::apply-external-plugin[]
    plugins {
        id 'java'
        id 'checkstyle'
    
        // NOTE: external plugin version is specified in implementation dependency artifact of the project's build file
        id 'com.github.spotbugs'
    }
    // end::apply-external-plugin[]
    
    // Projects should use Maven Central for external dependencies
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 914 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/main/kotlin/com.myorg.java-conventions.gradle.kts

    // Define Java conventions for this organization.
    // Projects need to use the Java, Checkstyle and Spotbugs plugins.
    
    // tag::apply-external-plugin[]
    plugins {
        java
        checkstyle
    
        // NOTE: external plugin version is specified in implementation dependency artifact of the project's build file
        id("com.github.spotbugs")
    }
    // end::apply-external-plugin[]
    
    // Projects should use Maven Central for external dependencies
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 909 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/kotlin/buildSrc/src/main/kotlin/myproject.java-conventions.gradle.kts

    // Define Java conventions for this organization.
    // Projects need to use the Java, Checkstyle and Spotbugs plugins.
    
    // tag::apply-external-plugin[]
    plugins {
        java
        checkstyle
    
        // NOTE: external plugin version is specified in implementation dependency artifact of the project's build file
        id("com.github.spotbugs")
    }
    // end::apply-external-plugin[]
    
    // Projects should use Maven Central for external dependencies
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 909 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/groovy/convention-plugins/src/main/groovy/com.myorg.java-conventions.gradle

    // Define Java conventions for this organization.
    // Projects need to use the Java, Checkstyle and Spotbugs plugins.
    
    // tag::apply-external-plugin[]
    plugins {
        id 'java'
        id 'checkstyle'
    
        // NOTE: external plugin version is specified in implementation dependency artifact of the project's build file
        id 'com.github.spotbugs'
    }
    // end::apply-external-plugin[]
    
    // Projects should use Maven Central for external dependencies
    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/docs/userguide/authoring-builds/tasks/organizing_tasks.adoc

    Instead, we want to run code quality checks all the time, but not the lengthy test.
    
    To add a quality check lifecycle task, we introduce an additional lifecycle task called `qualityCheck` and a plugin called link:https://github.com/spotbugs/spotbugs[`spotbugs`].
    
    To add a lifecycle task, use link:{javadocPath}/org/gradle/api/tasks/TaskContainer.html#register-java.lang.String-java.lang.Class-[`tasks.register()`].
    The only thing you need to provide is a name.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 23:21:15 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/groovy/convention-plugins/build.gradle

    // end::publish[]
    
    // tag::repositories-and-dependencies[]
    repositories {
        gradlePluginPortal() // so that external plugins can be resolved in dependencies section
    }
    
    dependencies {
        implementation 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.2.1'
        testImplementation platform("org.spockframework:spock-bom:2.2-groovy-3.0")
        testImplementation 'org.spockframework:spock-core'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 992 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/kotlin/buildSrc/build.gradle.kts

    }
    // end::apply[]
    
    // tag::repositories-and-dependencies[]
    repositories {
        gradlePluginPortal() // so that external plugins can be resolved in dependencies section
    }
    
    dependencies {
        implementation("com.github.spotbugs.snom:spotbugs-gradle-plugin:5.2.1")
        testImplementation("junit:junit:4.13")
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 389 bytes
    - Viewed (0)
Back to top