Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for sortBy (0.15 sec)

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

            val json = Gson().fromJson(jsonString, AcceptedApiChanges::class.java)
            return json.acceptedApiChanges!!
        }
    
        /**
         * Sorts the given list of [AcceptedApiChange]s by type and member.
         * <p>
         * This sort ought to remain consistent with the sort used by the [EnrichedReportRenderer].
         */
        @Suppress("KDocUnresolvedReference")
        protected
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

    import org.gradle.api.tasks.CacheableTask
    import org.gradle.api.tasks.TaskAction
    
    
    /**
     * This [Task][org.gradle.api.Task] reorders the changes in an accepted API changes file
     * so that they are alphabetically sorted (by type, then member).
     */
    @CacheableTask
    abstract class SortAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() {
    
        @TaskAction
        fun execute() {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    
    private
    fun CtClass.isLikelyEquivalentTo(ktTypeReference: KtTypeReference): Boolean {
        val ktTypeAsText = ktTypeReference.text
        if (ktTypeAsText.contains(" -> ")) {
            // This is a function of some sort
            return name.startsWith("kotlin.jvm.functions.Function")
        }
    
        val ktTypeRawName = ktTypeAsText
            .trimEnd('?') // nullability is not part of JVM types
    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)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt

    import org.junit.jupiter.api.Test
    
    
    class SortAcceptedApiChangesTaskIntegrationTest : AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest() {
        @Test
        fun `verify misordered changes can be sorted`() {
            //language=JSON
            acceptedApiChangesFile.writeText(
                """
                    {
                        "acceptedApiChanges": [
                            {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 7.5K bytes
    - Viewed (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

        }
    
        private
        fun getMergedContributorPullRequests(pageNumber: Int): List<GitHubPullRequest> {
            val uri = "https://api.github.com/search/issues?q=is:pr+is:merged+repo:gradle/gradle+label:%22from:contributor%22&sort=updated&order=desc&per_page=$pageSize&page=$pageNumber"
            return invokeGitHubApi(uri, GitHubPullRequestSearchResult::class.java).items
        }
    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)
  6. .github/CODEOWNERS

    ##
    ## CODEOWNERS style rules:
    ## 1. Prefer team ownership over individual user ownership.
    ## 2. GBT-related team should be listed first.
    ## 3. Try to keep paths alphabetically sorted within visual groups.
    ## 4. List individual owners last.
    ##
    
    # bt-unassigned-maintainers must be the first owner
    # All directories that are not explicitly listed below are considered
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 15:52:09 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  7. .cm/misc_labels.cm

      tests: {{ files | allTests }}
    
      # Exclude anything under samples/snippets sourceSets, or any sort of test resource file
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

    You can add the changes to any place in the file, e.g. at the top.
    
    3. Make sure the file with accepted changes is sorted.\
    Use the `./gradlew :architecture-test:sortAcceptedApiChanges` task to sort the file.
    
    4. Validate your changes before committing.\
    Run the `./gradlew sanityCheck` task again to make sure there are no more errors.
    
    #### Filtering changes by severity
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat May 04 07:43:02 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/ClasspathManifest.kt

        @Input
        val runtime = externalDependencies.elements.map { it.map { it.asFile.name }.sorted() }
    
        @get:Internal
        abstract val externalDependencies: ConfigurableFileCollection
    
        @Input
        val projects = projectDependencies.elements.map { it.map { it.toGradleModuleName() }.sorted() }
    
        @get:OutputFile
        abstract val manifestFile: RegularFileProperty
    
        @TaskAction
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Mar 28 20:26:58 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

                        add(entry.value.firstOrNull { !it.contains("-") })
                        add(entry.value.first())
                    }
                }
                add(minimumSupported)
            }.filterNotNull().distinct().sorted()
            return latests.subList(latests.indexOf(minimumSupported), latests.size)
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 26 13:50:17 GMT 2023
    - 3.8K bytes
    - Viewed (0)
Back to top