Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ignoreIncomingBuildReceipt (0.11 sec)

  1. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

        }
    
    
    fun Project.buildTimestampFromBuildReceipt(): Provider<String> =
        providers.of(BuildTimestampFromBuildReceiptValueSource::class) {
            parameters {
                ignoreIncomingBuildReceipt = project.ignoreIncomingBuildReceipt
                buildReceiptFileContents = repoRoot()
                    .dir("incoming-distributions")
                    .file(BuildReceipt.buildReceiptFileName)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampFromBuildReceiptValueSource.kt

            "the build timestamp extracted from the build receipt".let {
                when {
                    parameters.ignoreIncomingBuildReceipt.get() -> "$it (ignored)"
                    else -> it
                }
            }
    
        private
        fun Parameters.buildReceiptString(): String? = when {
            ignoreIncomingBuildReceipt.get() -> null
            else -> buildReceiptFileContents.orNull
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top