- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for if (0.19 sec)
-
.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) -
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) -
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/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
assertFalse(richReport.toAssertionMessage("Expected to be breaking but the check passed"), isBinaryCompatible) } private fun RichReport.toAssertionMessage(message: String) = if (isEmpty) "$message with an empty report" else "$message\n${toText().prependIndent(" ")}" private
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Sep 25 13:49:37 GMT 2023 - 16.4K bytes - Viewed (0) -
build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt
when { descriptor.language === Language.CPP -> { exampleClass = if (descriptor.componentType === ComponentType.LIBRARY) "Hello" else "Greeter" sourceFile = (if (descriptor.componentType === ComponentType.LIBRARY) "hello" else "app") + ".cpp" testSourceFile = (if (descriptor.componentType === ComponentType.LIBRARY) "hello" else "app") + "_test.cpp"
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Feb 06 17:51:21 GMT 2024 - 13.8K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt
getByName("${prefix}TestRuntimeClasspath") { extendsFrom(distributionRuntimeOnly) if (platformImplementation != null) { extendsFrom(platformImplementation) } } if (platformImplementation != null) { getByName("${prefix}TestCompileClasspath") { extendsFrom(getByName("platformImplementation"))
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) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
/** * Test if a method is a prime declaration or an overrides that change the signature. * * There's no way to tell from the byte code that a method overrides the signature * of a parent declaration other than crawling up the type hierarchy. */ private fun isSignificantDeclaration(methodNode: MethodNode): Boolean { if (methodNode.access.isSynthetic) return false
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Tue Feb 06 19:56:10 GMT 2024 - 20.8K 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 08 11:36:15 GMT 2024 - Last Modified: Mon Jan 01 01:23:31 GMT 2024 - 16.2K bytes - Viewed (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt
* limitations under the License. */ package gradlebuild.modules.extension import gradlebuild.modules.model.License abstract class ExternalModulesExtension(isBundleGroovy4: Boolean) { val groovyVersion = if (isBundleGroovy4) "4.0.20" else "3.0.21" val configurationCacheReportVersion = "1.5" val gradleIdeStarterVersion = "0.2-SNAPSHOT" val kotlinVersion = "1.9.23"
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Apr 16 15:50:58 GMT 2024 - 14.4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/CIBuildModel.kt
return model.projectId + "_" + if (subProject.isNotEmpty()) shortenedSubprojectName else "${prefix}0" } private fun shortenSubprojectName(prefix: String, subProjectName: String): String { val shortenedSubprojectName = subProjectName.replace("internal", "i").replace("Testing", "T") if (shortenedSubprojectName.length + prefix.length <= 80) {
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Feb 23 01:54:48 GMT 2024 - 20.9K bytes - Viewed (0)