Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for UpdateReleasedVersions (0.13 sec)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateReleasedVersions.kt

                }
    
                val newReleasedVersions = updateReleasedVersions(currentReleasedVersion, releasedVersions)
    
                releasedVersionsFile.writeText(GsonBuilder().setPrettyPrinting().create().toJson(newReleasedVersions))
            }
    
            private
            fun updateReleasedVersions(currentReleasedVersion: ReleasedVersion, releasedVersions: ReleasedVersions) =
                ReleasedVersions(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild.update-versions.gradle.kts

    import gradlebuild.buildutils.tasks.UpdateReleasedVersions
    import java.net.URI
    
    
    tasks.named<UpdateDaemonJvm>("updateDaemonJvm") {
        jvmVersion = JavaLanguageVersion.of(17)
        jvmVendor = "adoptium"
    }
    
    tasks.withType<UpdateReleasedVersions>().configureEach {
        releasedVersionsFile = releasedVersionsFile()
        group = "Versioning"
    }
    
    tasks.register<UpdateReleasedVersions>("updateReleasedVersions") {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:33:20 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy

            def rc = releasedVersion('4.3-rc-1')
            def versions = releasedVersions(snapshot, rc, [])
            def version = new ReleasedVersion('4.2', '20170913122310+0000')
    
            expect:
            UpdateReleasedVersions.@Companion.updateReleasedVersions(version, versions) == releasedVersions(snapshot, rc, [version])
        }
    
        def "final releases are sorted by version"() {
            def snapshot = snapshot('4.3')
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.4K bytes
    - Viewed (0)
  4. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy

        }
      ]
    }'''
            def newSnapshot = snapshot('6.6')
            def expectedFileContent = releasedVersionsFile.text.replace('20200702230251+0000', newSnapshot.buildTime)
    
            when:
            UpdateReleasedVersions******@****.***ReleasedVersionFile(releasedVersionsFile, newSnapshot) == ''
    
            then:
            releasedVersionsFile.text == expectedFileContent
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 17 08:32:56 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

        get() {
            val taskNames = gradle.startParameter.taskNames
            return taskNames.contains("promotionBuild") ||
                // :updateReleasedVersionsToLatestNightly and :updateReleasedVersions
                taskNames.any { it.contains("updateReleasedVersions") }
        }
    
    
    /**
     * If `-DbundleGroovy4=true` is specified, create a distribution using Groovy 4 libs.  Otherwise use Groovy 3 classic libs.
     */
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top