Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for validatePlugins (0.19 sec)

  1. build-logic/buildquality/src/main/kotlin/gradlebuild.task-properties-validation.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    plugins {
        java
    }
    
    val validateTaskName = "validatePlugins"
    val reportFileName = "task-properties/report.txt"
    
    tasks.register<ValidatePlugins>(validateTaskName) {
        val main = project.sourceSets.main.get()
        classes.from(main.output)
        classpath.from(main.runtimeClasspath)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jan 20 15:24:40 UTC 2023
    - 1008 bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts

        // 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)
  3. build-logic/buildquality/src/main/kotlin/gradlebuild.configure-ci-artifacts.gradle.kts

            globalExtension.taskPathToReports = taskPathToReports
        }
    }
    
    fun Task.customReports(): List<File> = when (this) {
        is ValidatePlugins -> listOf(outputFile.get().asFile)
        is FindBrokenInternalLinks -> listOf(reportFile.get().asFile)
        is DistributionTest -> listOf(
            gradleInstallationForTest.gradleUserHomeDir.dir("test-kit-daemon").get().asFile,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 11 14:21:47 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. 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)
  5. build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

        `maven-publish`
        signing
        `java-gradle-plugin`
        id("com.gradle.plugin-publish")
    }
    
    extensions.create<PluginPublishExtension>("pluginPublish", gradlePlugin)
    
    tasks.validatePlugins {
        enableStricterValidation = true
    }
    
    // Remove gradleApi() and gradleTestKit() as we want to compile/run against Gradle modules
    // TODO consider splitting `java-gradle-plugin` to provide only what's necessary here
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 08 14:54:27 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top