- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 105 for if (0.12 sec)
-
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt
} gradle.serviceOf<BuildEventsListenerRegistry>().onTaskCompletion(buildService) gradleRootProject.extensions.extraProperties.set("collectedInfo-${klass.simpleName}-${rootProjectName}", buildService.get().collectedInformation)
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Apr 24 03:34:53 GMT 2024 - 3.2K 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 08 11:36:15 GMT 2024 - Last Modified: Wed Apr 24 08:17:56 GMT 2024 - 7.9K bytes - Viewed (0) -
Development.md
# Development best practices This is a collection of best practices for Gradle implementation. Should and should not do's. ## Error messages and suggestions Traditionally, if an error occurred, the error message and the possible solution were provided to the console via a single String in the corresponding exception. That meant possible solutions for Problems could be scattered all over the console output.
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Tue Feb 06 22:54:40 GMT 2024 - 1.8K 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 08 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 2.4K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/AbstractBuildScanInfoCollectingService.kt
val monitoredTaskPaths: SetProperty<String> } override fun onFinish(event: FinishEvent) { if (event !is TaskFinishEvent) { return } val taskPath = event.descriptor.taskPath if (shouldInclude(taskPath)) { action(taskPath, event.result) } }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Aug 11 07:01:27 GMT 2022 - 2.3K 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/jvm/src/main/kotlin/gradlebuild/kotlin/tasks/ParameterNamesIndex.kt
@get:Inject internal abstract val classLoaderFactory: ClassLoaderFactory @TaskAction fun generate(): Unit = destinationFile.get().asFile.let { if (sources.isEmpty) it.writeText("") else generateParameterNamesResource(sources.files, classpath.files, it) } private
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4K 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 08 11:36:15 GMT 2024 - Last Modified: Wed Apr 24 03:34:53 GMT 2024 - 3.1K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt
val templateVersionConfiguration = project.configurations.detachedConfiguration(*libDependencies) templateVersionConfiguration.resolutionStrategy.componentSelection.all { devSuffixes.forEach { if (it.containsMatchIn(candidate.version)) { reject("don't use snapshots") return@forEach } } }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Dec 19 11:19:07 GMT 2023 - 5K bytes - Viewed (0)