Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for versionNumber (0.12 sec)

  1. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt

            allTestedVersions = testedVersions.map { VersionNumber.parse(it.gradleVersion().version) }
                .groupBy { "${it.major}.${it.minor}" }
                .map { (_, v) -> v.maxOrNull()!!.format() }
    
            // Limit to first and last release of each major version
            mainTestedVersions = testedVersions.map { VersionNumber.parse(it.gradleVersion().version) }
                .groupBy { it.major }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

        }
    
        val versionQualifier = buildVersionQualifier
        val isFinalRelease = finalRelease.isPresent
    
        val buildTimestamp = buildTimestamp()
        val versionNumber = when {
            isFinalRelease -> {
                baseVersion
            }
            rcNumber.isPresent -> {
                "$baseVersion-rc-${rcNumber.get()}"
            }
            milestoneNumber.isPresent -> {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt

    import org.gradle.api.file.RegularFileProperty
    import org.gradle.api.tasks.Internal
    import org.gradle.api.tasks.TaskAction
    import org.gradle.internal.util.PropertiesUtils
    import org.gradle.util.internal.VersionNumber
    import org.gradle.work.DisableCachingByDefault
    import java.util.Properties
    
    
    @DisableCachingByDefault(because = "Not worth caching")
    abstract class UpdateInitPluginTemplateVersionFile : DefaultTask() {
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

        val List<String>.firstBaseVersion: String
            get() = VersionNumber.parse(first()).minorBaseVersion
    
        private
        val List<String>.lastBaseVersion: String
            get() = map { VersionNumber.parse(it) }
                .last { it.qualifier == null || it.qualifier?.startsWith("rc") == true }
                .minorBaseVersion
    
        private
        val VersionNumber.minorBaseVersion: String
            get() = "$major.$minor"
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 02 09:17:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

    import groovy.lang.GroovySystem
    import net.ltgt.gradle.errorprone.CheckSeverity
    import net.ltgt.gradle.errorprone.errorprone
    import org.gradle.util.internal.VersionNumber
    
    /*
     * Copyright 2022 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
     *
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. build-logic-commons/build-platform/build.gradle.kts

    import org.gradle.util.internal.VersionNumber
    
    plugins {
        `java-platform`
    }
    
    group = "gradlebuild"
    
    description = "Provides a platform that constrains versions of external dependencies used by Gradle"
    
    // Here you should declare versions which should be shared by the different modules of buildSrc itself
    val javaParserVersion = "3.18.0"
    val groovyVersion = GroovySystem.getVersion()
    val isGroovy4 = VersionNumber.parse(groovyVersion).major >= 4
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 29 21:53:00 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

                it.parentFile.mkdirs()
            }
            ReproduciblePropertiesWriter.store(
                Properties().apply {
                    put("commitId", commitId.getOrElse("HEAD"))
                    put("versionNumber", version.get())
                    put("baseVersion", baseVersion.get())
                    put("isSnapshot", snapshot.get().toString())
                    put("buildTimestamp", getBuildTimestampAsString())
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml

                <!-- The variants from org.gradle.util.internal should be used instead-->
                <property name="illegalClasses" value="^org\.gradle\.util\.(CollectionUtils|NameMatcher|NameValidator|VersionNumber|TextUtil|WrapUtil|RelativePathUtil|DistributionLocator|SingleMessageLogger|ClosureBackedAction|ConfigureUtil)"/>
            </module>
    
            <!-- Naming -->
            <module name="ConstantName"/>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 16 22:05:16 UTC 2022
    - 6.3K bytes
    - Viewed (0)
Back to top