Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 401 for dependsOn (0.17 sec)

  1. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report.gradle.kts

    }
    
    plugins.withId("org.jetbrains.kotlin.jvm") {
        reportTask {
            sources.from(kotlinMainSourceSet.sourceDirectories)
        }
    }
    
    tasks.named("check") { dependsOn(reportTask) }
    
    consumableVariant("txt", reportTask.flatMap { it.textReportFile })
    consumableVariant("html", reportTask.flatMap { it.htmlReportFile })
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.ktlint.gradle.kts

        }
    
        withType<Test>().configureEach {
            shouldRunAfter(ktlintCheck)
        }
    }
    
    pluginManager.withPlugin("gradlebuild.code-quality") {
        tasks {
            named("codeQuality") {
                dependsOn(ktlintCheck)
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sun Oct 01 11:07:15 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild.wrapper.gradle.kts

        val wrapperTaskName = "${name}Wrapper"
        val configureWrapperTaskName = "configure${wrapperTaskName.capitalize()}"
    
        val wrapperTask = tasks.register<Wrapper>(wrapperTaskName) {
            dependsOn(configureWrapperTaskName)
            group = "wrapper"
        }
    
        tasks.register(configureWrapperTaskName) {
            doLast {
                val jsonText = URL("https://services.gradle.org/versions/$label").readText()
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts

        }
    }
    
    tasks.runKtlintCheckOverKotlinScripts {
        // Only check the build files, not all *.kts files in the project
        includes += listOf("*.gradle.kts")
    }
    
    tasks.named("codeQuality") {
        dependsOn("ktlintCheck")
    }
    
    tasks.validatePlugins {
        failOnWarning = true
        enableStricterValidation = true
    }
    
    tasks.withType<Test>().configureEach {
        useJUnitPlatform()
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Oct 03 15:32:00 GMT 2023
    - 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()
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 03 13:29:44 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

            val compileTasks = project.tasks.matching {
                it is JavaCompile || it is GroovyCompile
            }
            dependsOn(compileTasks)
        }
    
        tasks.register("compileAllProduction") {
            description = "Compile all production source code, usually only main and testFixtures."
            val compileTasks = project.tasks.matching {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jan 17 13:36:27 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/common/extensions.kt

            "--no-configuration-cache",
            "%additional.gradle.parameters%",
            if (daemon) "--daemon" else "--no-daemon",
            if (isContinue) "--continue" else ""
        )
    
    fun Dependencies.dependsOn(buildTypeId: RelativeId) {
        dependency(buildTypeId) {
            snapshot {
                onDependencyFailure = FailureAction.FAIL_TO_START
                onDependencyCancel = FailureAction.FAIL_TO_START
            }
        }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  8. okhttp/build.gradle.kts

    val copyOsgiTestDeployment by tasks.creating(Copy::class.java) {
      from(osgiTestDeploy)
      into("$buildDir/resources/test/okhttp3/osgi/deployments")
    }
    tasks.getByName("test") {
      dependsOn(copyOsgiTestDeployment)
    }
    
    dependencies {
      api(libs.squareup.okio)
      api(libs.kotlin.stdlib)
    
      // These compileOnly dependencies must also be listed in the OSGi configuration above.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            if (executer == defaultExecuter) {
                // The test task with the default executer runs with 'check'
                tasks.named("check").configure { dependsOn(testTask) }
            }
        }
        // Create a variant of the test suite to force realization of component metadata
        if (testType == TestType.INTEGRATION) {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

            rootProject.layout.projectDirectory,
            currentUpgradedPropertiesFile.get().asFile,
            baselineUpgradedPropertiesFile.get().asFile
        )
    }
    tasks.named("check").configure { dependsOn(checkBinaryCompatibility) }
    
    tasks.register("cleanAcceptedApiChanges", CleanAcceptedApiChanges) {
        description = 'Cleans up all existing accepted API changes.'
        jsonFile = apiChangesJsonFile.asFile
    }
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 12:20:44 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top