- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 172 for if (0.56 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
if (!oldNullability && newNullability) { errors << "From non-nullable to nullable breaking change" } else if (oldNullability && !newNullability) { warnings << "Nullability changed from nullable to non-nullable" } } else if (oldNullability != newNullability) { errors << "Nullability breaking change" }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Sat Apr 13 10:04:28 GMT 2024 - 5.4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt
REPO=$dir if [ -e ${'$'}REPO ] ; then tree ${'$'}REPO rm -rf ${'$'}REPO echo "${'$'}REPO was polluted during the build" ${if (exitOnFailure) "exit 1" else ""} else echo "${'$'}REPO does not exist" fi """.trimIndent() fun checkCleanDirWindows(dir: String, exitOnFailure: Boolean = true) = """ IF exist $dir ( TREE $dir
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Apr 24 08:17:56 GMT 2024 - 7.9K bytes - Viewed (0) -
.github/workflows/CheckBadMerge.groovy
* e.g https://github.com/gradle/gradle/pull/25825 * * This script is to check if there is any merge commit that brings changes from release branch to master. * Usage: groovy CheckBadMerge.groovy <commit1> <commit2> ... * If any "bad" merge commit is found, it will print the details and exit with non-zero code. */ class CheckBadMerge {
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Dec 19 10:35:44 GMT 2023 - 6.5K bytes - Viewed (0) -
.cm/lacks_tests.cm
# Each automation has an `if` key that defines conditions to run the automation, # as well as a `run` key with the actions to do. All the conditions need to be true # for the actions to run (there is an implicit AND relation between # the conditions on each line). Each condition is specified as a Jinja expression. You # can also use the constant `true` if you want to always run the actions.
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 2.4K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
if (!milestone.isPresent) { throw IllegalStateException("Milestone not set: please rerun the task with `--milestone <milestone>`") } val prs: MutableList<GitHubPullRequest> = mutableListOf() (1..10).forEach { page -> val prPage = getMergedContributorPullRequests(page) prs.addAll(prPage) if (prPage.size < pageSize) {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon May 16 05:03:11 GMT 2022 - 5.7K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts
else -> throw IllegalArgumentException("Expected ResolvedDependencyResult") } if (dependency.isConstraint) { continue } val to = dependency.resolvedVariant when (val fromComponent = dependency.from.id) { is ProjectComponentIdentifier -> if (fromComponent != rootComponent.id) {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Mar 28 20:26:58 GMT 2024 - 4.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/projects/CheckProject.kt
allowEmpty = true, description = "Set to 'true' if you want to skip all dependency builds" ) } var prevStage: Stage? = null val previousPerformanceTestPasses: MutableList<PerformanceTestsPass> = mutableListOf() model.stages.forEach { stage -> if (isSecurityFork() && stage.stageName > StageName.READY_FOR_RELEASE) { return@forEach }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Apr 24 03:34:53 GMT 2024 - 3.1K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts
tracker = it.service } } fun DistributionTest.configureGradleTestEnvironment() { val taskName = name gradleInstallationForTest.apply { if (executerRequiresDistribution(taskName)) { gradleHomeDir = if (executerRequiresFullDistribution(taskName)) { configurations["${prefix}TestFullDistributionRuntimeClasspath"] } else {
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Tue Nov 28 20:40:40 GMT 2023 - 3.9K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt
get() = propertyFromAnySource(STUDIO_HOME) /** * If set to `true`, run docs tests with the configuration cache enabled. */ val Project.configurationCacheEnabledForDocsTests: Boolean @JvmName("isConfigurationCacheEnabledForDocsTests") get() = gradleProperty(ENABLE_CONFIGURATION_CACHE_FOR_DOCS_TESTS).orNull.toBoolean() /**
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Jan 01 01:23:31 GMT 2024 - 16.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/DocsTest.kt
type test-splits\$action-test-classes.properties """ return { script { name = "PREPARE_TEST_CLASSES" executionMode = BuildStep.ExecutionMode.ALWAYS scriptContent = if (os == Os.WINDOWS) windowsScript else unixScript } } } fun asDocsTestId(model: CIBuildModel, os: Os): String { return "${model.projectId}_DocsTest_${os.asName()}" } class DocsTestProject(
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Dec 05 00:08:14 GMT 2023 - 4.7K bytes - Viewed (0)