Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for present (0.17 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

            when:
            run('checkDeadInternalLinks').buildAndFail()
    
            then:
            assertFoundDeadSectionLinks(sampleDoc, "missing_section", "other_missing_section")
        }
    
        def "validates present section links"() {
            given:
            sampleDoc << """
    [[prior_section]]
    Text
    
    === Valid Section Links
    This section comes earlier: <<prior_section>>
    This section comes later: <<subsequent_section>>
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Nov 28 22:01:54 GMT 2022
    - 7.8K bytes
    - Viewed (0)
  2. .github/workflows/CheckBadMerge.groovy

         * This means that every line in the merge commit version should be either:
         * - Only exists on `master`.
         * - Exists on `master` and `releaseX`.
         * If any line is only present on `releaseX` version, then it's a bad file.
         * Also, we ignore empty lines.
         */
        static boolean isBadFileInMergeCommit(String filePath, String mergeCommit, String masterCommit, String releaseCommit) {
            try {
    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)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt

    import org.gradle.api.tasks.CacheableTask
    import org.gradle.api.tasks.TaskAction
    
    
    /**
     * This [Task][org.gradle.api.Task] checks that the contents of a given accepted API changes file
     * are present in alphabetical order (by type, then member), and throws an exception and reports
     * any changes that are not.
     */
    @CacheableTask
    abstract class AlphabeticalAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                    }
                    errorsForFile.add(new Error(lineNumber, line, errMsg));
                }
                // TODO: Also parse the HTML in the javadoc file to check if the specific method is present
            }
        }
    
        private boolean fileContainsText(File referencedFile, String text) {
            try {
                for (String line : Files.readAllLines(referencedFile.toPath())) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 05 07:57:56 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

                return@collectDescendantsOfType false
            }
    
            // Parameter type check
            method.parameterTypes
                .asSequence()
                // Drop the receiver if present
                .drop(if (extensionCandidate) 1 else 0)
                .withIndex()
                .all<IndexedValue<CtClass>> {
                    val ktParamType = ktFunction.valueParameters[it.index].typeReference!!
    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)
  6. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

    /*
     * Copyright 2007-present the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 4.8K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

        }.toMap()
    
    
    /**
     * Creates a [Provider] that returns `true` when this [Provider] has a value
     * and `false` otherwise. The returned [Provider] always has a value.
     * @see Provider.isPresent
     */
    private
    fun <T> Provider<T>.presence(): Provider<Boolean> =
        map { true }.orElse(false)
    
    
    fun Project.gradleProperty(propertyName: String) = providers.gradleProperty(propertyName)
    
    
    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)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

        }
    
        @Internal
        protected
        fun getContributorsFromPullRequests(): Set<GitHubUser> {
            if (!milestone.isPresent) {
                throw IllegalStateException("Milestone not set: please rerun the task with `--milestone <milestone>`")
            }
            val prs: MutableList<GitHubPullRequest> = mutableListOf()
    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)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/extensions.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import japicmp.util.Optional
    
    
    internal
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 764 bytes
    - Viewed (0)
  10. .cm/includes_todos.cm

            args:
              label: "⚠️ Includes TODOs"
              color: {{ colors.yellow }}
          - action: add-comment@v1
            args:
              comment: |
                :warning: 'There are new TODOs present in this change.  Should any be removed?'
    
    # To simplify the automations section, some calculations are placed under unique YAML keys defined here.
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top