Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for codeQuality (0.07 sec)

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

            allErrorsAsWarnings = true
        }
    }
    
    val codeQuality = tasks.register("codeQuality") {
        dependsOn(tasks.withType<CodeNarc>())
        dependsOn(tasks.withType<Checkstyle>())
        dependsOn(tasks.withType<ValidatePlugins>())
    }
    
    tasks.withType<Test>().configureEach {
        shouldRunAfter(codeQuality)
    }
    tasks.check {
        dependsOn(codeQuality)
    }
    
    val rules by configurations.creating {
        isVisible = false
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.private-javadoc.gradle.kts

    // These requirements are different than those of the public javadoc.
    // This does not configure the public Javadoc published to the website
    
    pluginManager.withPlugin("gradlebuild.code-quality") {
        tasks {
            named("codeQuality") {
                dependsOn(tasks.withType<Javadoc>())
            }
        }
    }
    
    tasks.withType<Javadoc>().configureEach {
        assert(name != "javadocAll") // This plugin should not be applied to the :docs project.
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.detekt.gradle.kts

        // also check the project build file
        source.from(project.buildFile)
    }
    
    pluginManager.withPlugin("gradlebuild.code-quality") {
        tasks {
            named("codeQuality") {
                dependsOn(detekt)
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jun 20 10:11:35 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts

        }
    }
    
    detekt {
        // overwrite the config file's location
        config.convention(project.isolated.rootProject.projectDirectory.file("../gradle/detekt.yml"))
    }
    
    tasks.named("codeQuality") {
        dependsOn("detekt")
    }
    
    tasks.validatePlugins {
        failOnWarning = true
        enableStricterValidation = true
    }
    
    tasks.withType<Test>().configureEach {
        useJUnitPlatform()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts

                                predictiveTestSelection.enabled = false
                            }
                        }
                    }
                }
            }
        }
    }
    
    tasks.codeQuality.configure {
        dependsOn(testing.suites.named("archTest"))
    }
    
    fun notForAccessorGeneration(runnable: Runnable) {
        if (project.name != "gradle-kotlin-dsl-accessors" && project.name != "test") {
            runnable.run()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jul 03 16:00:02 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top