Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for elseif (0.16 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

                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)
    
            override fun visit(declaration: EnumDeclaration, arg: Unit?): Boolean? =
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

                else -> when (ctMember) {
                    is CtField -> ktFile.isDocumentedAsSince(version, ctDeclaringClass, ctMember)
                    is CtConstructor -> ktFile.isDocumentedAsSince(version, ctDeclaringClass, ctMember)
                    is CtMethod -> ktFile.isDocumentedAsSince(version, ctDeclaringClass, ctMember)
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

                MASTER_BRANCH -> 0
                RELEASE_BRANCH -> 1
                else -> {
                    val matchResult = OLD_RELEASE_PATTERN.find(branchName)
                    if (matchResult == null) {
                        null
                    } else {
                        (matchResult.groupValues[1].toInt() - 4).apply {
                            require(this in 2..23)
                        }
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  4. build-logic/build-init-samples/src/main/kotlin/gradlebuild/generate-samples.gradle.kts

        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 Apr 24 11:36:11 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/common/extensions.kt

            pluginPortalUrlOverride,
            "-s",
            "--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
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

    
    fun Directory.parentOrRoot(): Directory = if (this.file("version.txt").asFile.exists()) {
        this
    } else {
        val parent = dir("..")
        when {
            parent.file("version.txt").asFile.exists() -> parent
            this == parent -> throw IllegalStateException("Cannot find 'version.txt' file in root of repository")
            else -> parent.parentOrRoot()
        }
    }
    
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  7. .cm/plugins/filters/isEnabledAutomation/index.js

        let result;
        const automationActivations = enabled.get(automationName) || [];
    
        // Check if always enabled, or enabled by comment
        if (automationActivations.includes('always')) {
            result = true;
        } else {
            result = Object.values(pr.comments).some(comment => {
                const checks = extractCheckNames(comment.content);
                if (checks.includes(automationName)) {
                    return true;
                }
    JavaScript
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                        } else {
                            String idName = result.group(2);
                            if (idName.isEmpty()) {
                                errorsForFile.add(new Error(lineNumber, line, "Missing section reference for link to " + fileName));
                            } else {
                                if (!fileContainsText(referencedFile, "[[" + idName + "]]")) {
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Apr 05 07:57:56 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

        protected boolean isInternal(CtClass c) {
            if (c.name.startsWith("java.")) {
                return false
            } else if (c.name.contains('.internal.')) {
                return true
            } else {
                return !publicApiPatterns.any { it.matcher(c.name).find() }
            }
        }
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  10. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt

        fun VersionNumber.format() =
            // reformat according to our versioning scheme, since toString() would typically convert 1.0 to 1.0.0
            GradleVersion.version("$major.${minor}${if (micro > 0) ".$micro" else ""}${if (qualifier != null) "-$qualifier" else ""}")
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top