Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hasNext (0.16 sec)

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

     * Returns the trimmed contents of the file at the given [path] after
     * marking the file as a build logic input.
     */
    fun Project.trimmedContentsOfFile(path: String): String =
        providers.fileContents(repoRoot().file(path)).asText.get().trim()
    
    // TODO Simplify the buildTimestamp() calculation if possible
    fun Project.buildTimestamp(): Provider<String> =
        providers.of(BuildTimestampValueSource::class) {
            parameters {
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

            if (OperatingSystem.current().isWindows) {
                commandLine = listOf("cmd", "/c") + commandLine
            }
        }
        return execOutput.result.zip(execOutput.standardOutput.asText) { result, outputText ->
            if (result.exitValue == 0) outputText.trim()
            else "<unknown>" // It's a source distribution, we don't know.
        }
    }
    
    
    // pre-test/master/queue/alice/feature -> master
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

            }
        }
    }
    
    def apiChangesJsonFile = layout.projectDirectory.file("src/changes/accepted-public-api-changes.json")
    def acceptedViolations = AcceptedApiChanges.parse(providers.fileContents(apiChangesJsonFile).asText.get())
    def compatibilityBaselineVersion = moduleIdentity.releasedVersions.get().mostRecentRelease.version
    
    def ARTIFACT_TYPE = Attribute.of('artifactType', String)
    def RUNTIME_ATTRIBUTE = objects.named(Usage, Usage.JAVA_RUNTIME)
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Apr 11 12:20:44 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top