Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for selectVersionsFrom (0.1 sec)

  1. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateKotlinVersionsTest.groovy

        def "latest patch version"() {
            given:
            def allVersions = ["2.0.30", "2.0.20", "2.0.10", "2.0.0"] + previousVersions
    
            when:
            def selected = UpdateKotlinVersions.selectVersionsFrom(minimumSupported, allVersions)
    
            then:
            selected == ["1.9.10", "1.9.25", "2.0.0", "2.0.30"]
        }
    
        def "beta of latest patch version"() {
            given:
            def allVersions = [
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 23 22:23:07 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

            return selectVersionsFrom(minimumSupported, fetchVersionsFromMavenMetadata(mavenMetadataUrl))
        }
    
        companion object {
            @VisibleForTesting
            @JvmStatic
            fun selectVersionsFrom(minimumSupported: String, allVersions: List<String>): List<String> {
                val versionsByMinor = allVersions
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 23 18:27:26 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top