Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for releasedVersionsFile (0.21 sec)

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

            fun updateReleasedVersionFile(releasedVersionsFile: File, currentReleasedVersion: ReleasedVersion) {
                val releasedVersions = releasedVersionsFile.reader().use {
                    Gson().fromJson(it, ReleasedVersions::class.java)
                }
    
                val newReleasedVersions = updateReleasedVersions(currentReleasedVersion, 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/buildquality/src/main/kotlin/gradlebuild/incubation/tasks/IncubatingApiReportTask.kt

            htmlReportFile = ******@****.***portFile
            textReportFile = ******@****.***portFile
            title = ******@****.***
            releasedVersionsFile = this@IncubatingApiReportTask.releasedVersionsFile
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 30 09:32:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. 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:
            ******@****.***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)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild.update-versions.gradle.kts

    tasks.withType<UpdateReleasedVersions>().configureEach {
        releasedVersionsFile = releasedVersionsFile()
        group = "Versioning"
    }
    
    tasks.register<UpdateReleasedVersions>("updateReleasedVersions") {
        currentReleasedVersion = ReleasedVersion(
            project.findProperty("currentReleasedVersion").toString(),
            project.findProperty("currentReleasedVersionBuildTimestamp").toString()
        )
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:33:20 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report.gradle.kts

        group = "verification"
        description = "Generates a report of incubating APIS"
        title = project.name
        versionFile = repoRoot().file("version.txt")
        releasedVersionsFile = releasedVersionsFile()
        sources.from(sourceSets.main.get().java.sourceDirectories)
        sources.from(sourceSets.main.get().groovy.sourceDirectories)
        htmlReportFile = file(layout.buildDirectory.file("reports/incubation/${project.name}.html"))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 12 13:19:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt

    import org.gradle.api.file.RegularFile
    import org.gradle.util.GradleVersion
    import org.gradle.util.internal.VersionNumber
    
    
    class ReleasedVersionsDetails(currentBaseVersion: GradleVersion, releasedVersionsFile: RegularFile) {
        val allPreviousVersions: List<GradleVersion>
        val mostRecentRelease: GradleVersion
        val mostRecentSnapshot: GradleVersion
    
        val allTestedVersions: List<GradleVersion>
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

    import gradlebuild.basics.buildTimestamp
    import gradlebuild.basics.buildVersionQualifier
    import gradlebuild.basics.ignoreIncomingBuildReceipt
    import gradlebuild.basics.isPromotionBuild
    import gradlebuild.basics.releasedVersionsFile
    import gradlebuild.basics.repoRoot
    import gradlebuild.identity.extension.ModuleIdentityExtension
    import gradlebuild.identity.extension.ReleasedVersionsDetails
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportParameter.kt

        val srcDirs: ConfigurableFileCollection
        val htmlReportFile: RegularFileProperty
        val textReportFile: RegularFileProperty
        val title: Property<String>
        val releasedVersionsFile: RegularFileProperty
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

            parent.file("version.txt").asFile.exists() -> parent
            this == parent -> error("Cannot find 'version.txt' file in root of repository")
            else -> parent.parentOrRoot()
        }
    }
    
    
    fun Project.releasedVersionsFile() = repoRoot().file("released-versions.json")
    
    
    /**
     * We use command line Git instead of JGit, because JGit's `Repository.resolve` does not work with worktrees.
     */
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

            }
        }
    
        private
        fun versionsDates(): Map<Version, String> {
            val versions = mutableMapOf<Version, String>()
            var version: String? = null
            parameters.releasedVersionsFile.get().asFile.forEachLine(Charsets.UTF_8) {
                val line = it.trim()
                if (line.startsWith("\"version\"")) {
                    version = line.substring(line.indexOf("\"", 11) + 1, line.lastIndexOf("\""))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top