Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ReleasedVersion (0.13 sec)

  1. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/model/ReleasedVersion.kt

     */
    
    package gradlebuild.identity.model
    
    import org.gradle.util.GradleVersion
    
    import java.text.SimpleDateFormat
    import java.util.Date
    import java.util.TimeZone
    
    
    data class ReleasedVersion(val version: String, val buildTime: String) {
        fun gradleVersion() = GradleVersion.version(version)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/model/ReleasedVersion.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.buildutils.model
    
    import org.gradle.util.GradleVersion
    
    
    data class ReleasedVersion(private val version: String, private val buildTime: String) {
        fun gradleVersion() = GradleVersion.version(version)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 842 bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateReleasedVersions.kt

                    } else {
                        releasedVersions.finalReleases
                    }
                )
    
            private
            fun newerVersion(releasedVersion: ReleasedVersion, other: ReleasedVersion) =
                if (releasedVersion.gradleVersion() > other.gradleVersion()) releasedVersion else other
    
            private
            fun GradleVersion.finalRelease() = this.equals(baseVersion)
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  4. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy

        }
    
        ReleasedVersions releasedVersions(ReleasedVersion snapshot, ReleasedVersion rc, List<ReleasedVersion> versions) {
            new ReleasedVersions(snapshot, rc, versions)
        }
    
        ReleasedVersion releasedVersion(String version, long date = System.currentTimeMillis()) {
            new ReleasedVersion(version, format.format(new Date(date)))
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.4K bytes
    - Viewed (0)
  5. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy

            then:
            releasedVersionsFile.text == expectedFileContent
        }
    
        ReleasedVersion releasedVersion(String version, long date = System.currentTimeMillis()) {
            new ReleasedVersion(version, format.format(new Date(date)))
        }
    
        ReleasedVersion snapshot(String baseVersion, long date = System.currentTimeMillis()) {
            releasedVersion("${baseVersion}-${format.format(new Date(date))}", date)
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 17 08:32:56 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  6. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/model/ReleasedVersions.kt

     * limitations under the License.
     */
    
    package gradlebuild.identity.model
    
    
    data class ReleasedVersions(
        val latestReleaseSnapshot: ReleasedVersion,
        val latestRc: ReleasedVersion,
        val finalReleases: List<ReleasedVersion>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 813 bytes
    - Viewed (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/model/ReleasedVersions.kt

     * limitations under the License.
     */
    
    package gradlebuild.buildutils.model
    
    
    data class ReleasedVersions(
        val latestReleaseSnapshot: ReleasedVersion,
        val latestRc: ReleasedVersion,
        val finalReleases: List<ReleasedVersion>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 815 bytes
    - Viewed (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild.update-versions.gradle.kts

    import com.google.gson.Gson
    import gradlebuild.basics.releasedVersionsFile
    import gradlebuild.buildutils.model.ReleasedVersion
    import gradlebuild.buildutils.tasks.UpdateAgpVersions
    import gradlebuild.buildutils.tasks.UpdateKotlinVersions
    import gradlebuild.buildutils.tasks.UpdateReleasedVersions
    import java.net.URI
    
    
    tasks.named<UpdateDaemonJvm>("updateDaemonJvm") {
        jvmVersion = JavaLanguageVersion.of(17)
        jvmVendor = "adoptium"
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:33:20 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top