- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 118 for if (0.12 sec)
-
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt
if (dir.asFile.isDirectory) { for (cacheDir in dir.asFile.listFiles()) { val cacheDirName = cacheDir.name if (!cacheDirName.startsWith(dirPrefix) || !cacheDirName.endsWith(dirSuffix)) { continue } val dirVersion = cacheDirName.removePrefix(dirPrefix).removeSuffix(dirSuffix) if (!dirVersion.matches(dirVersionPattern)) {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Jan 08 12:45:57 GMT 2024 - 4.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt
override fun visit(declaration: ClassOrInterfaceDeclaration, arg: Unit?): Boolean? = if (declaration.matchesNameAndIsSince(classSimpleName, version)) true else super.visit(declaration, arg) override fun visit(declaration: AnnotationDeclaration, arg: Unit?): Boolean? = if (declaration.matchesNameAndIsSince(classSimpleName, version)) true else super.visit(declaration, arg)
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Dec 01 20:12:19 GMT 2023 - 6.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
ktFunction.valueParameters.size == paramCountWithReceiver if (!(extensionCandidate || ktFunction.valueParameters.size == paramCount)) { return@collectDescendantsOfType false } // Parameter type check method.parameterTypes .asSequence() // Drop the receiver if present .drop(if (extensionCandidate) 1 else 0) .withIndex()
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 20 20:38:19 GMT 2023 - 11.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/extensions.kt
customGradle(init) { useGradleWrapper = true if (buildFile == null) { buildFile = "" // Let Gradle detect the build script } skipConditionally(buildType) } fun Requirements.requiresOs(os: Os) { contains("teamcity.agent.jvm.os.name", os.agentRequirement) } fun Requirements.requiresArch(os: Os, arch: Arch) { if (os == Os.MACOS) {
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) -
.teamcity/README.md
- At the popup window, click `Import Settings from VCS`. Wait a few seconds. - If the error says "Context Parameter 'Branch' missing", it's ok. Click into the error and add a context parameter `Branch` with value `myTestBranch`. Go back and it automatically reloads. - If there are any errors, read the error and fix your code. - IMPORTANT NOTE: if the first import fails, you have to select and apply `Synchronization disabled`, then repeat the step above.
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Wed Mar 06 23:02:25 GMT 2024 - 4K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
override fun onFinish(event: FinishEvent) { if (event is TaskFinishEvent && taskPathReports.containsKey(event.descriptor.taskPath)) { val taskPath = event.descriptor.taskPath when (event.result) { is TaskSuccessResult -> { addExecutedTaskPath(taskPath) if (containsFailedTest(taskPath)) { addFailedTaskPath(taskPath)
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Jul 28 16:19:47 GMT 2023 - 12.5K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassGraph.kt
?: "" operator fun get(className: String) = classes.computeIfAbsent(className) { val outputClassName = if (unshadedPackages.matches(className)) className else shadowPackagePrefix + className ClassDetails(outputClassName).also { classDetails -> if (keepPackages.matches(className) && !ignorePackages.matches(className)) { entryPoints.add(classDetails) }
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 2.6K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
workingDir = projectDir isIgnoreExitValue = true commandLine = listOf("git", *args) if (OperatingSystem.current().isWindows) { commandLine = listOf("cmd", "/c") + commandLine } } return execOutput.result.zip(execOutput.standardOutput.asText) { result, outputText -> if (result.exitValue == 0) outputText.trim() else "<unknown>" // It's a source distribution, we don't know. }
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Feb 09 22:52:01 GMT 2024 - 5.7K bytes - Viewed (2) -
build-logic/build-init-samples/src/main/kotlin/gradlebuild/generate-samples.gradle.kts
val capKind = kind.capitalize().replace("y", "ie") + "s" val languageDisplayName = language.toString().replace("C++", "{cpp}") val sampleName = "building$capName$capKind" + if (modularizationOption.isMulti()) "MultiProject" else "" val multiProjectSuffix = if (modularizationOption.isMulti()) " with libraries" else "" val generateSampleTask = project.tasks.register<GenerateSample>("generateSample${sampleName.capitalize()}") {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 3.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/promotion/PromotionProject.kt
buildType(PublishBranchSnapshotFromQuickFeedback) buildType(PublishMilestone(branch)) if (branch.isMaster) { buildType(StartReleaseCycle) buildType(StartReleaseCycleTest) } else { buildType(PublishReleaseCandidate(branch)) buildType(PublishFinalRelease(branch)) } if (branch.isRelease || branch.isExperimental) { buildType(PublishNightlyDocumentation(branch)) }
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Thu Feb 29 04:36:37 GMT 2024 - 2.2K bytes - Viewed (0)