Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isPresent (0.22 sec)

  1. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt

        private
        val timestampSource: String
            get() = parameters.run {
                when {
                    buildTimestampFromBuildReceipt.isPresent -> "from build receipt"
                    buildTimestampFromGradleProperty.isPresent -> "from buildTimestamp property"
                    runningInstallTask.get() -> "from current time because installing"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

        val rcNumber = buildRcNumber
        val milestoneNumber = buildMilestoneNumber
    
        if (
            (buildFinalRelease.isPresent && buildRcNumber.isPresent) ||
            (buildFinalRelease.isPresent && buildMilestoneNumber.isPresent) ||
            (buildRcNumber.isPresent && buildMilestoneNumber.isPresent)
        ) {
            throw InvalidUserDataException("Cannot set any combination of milestoneNumber, rcNumber and finalRelease at the same time")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioSystemProperties.kt

                val androidStudioPath = studioInstallation.studioInstallLocation.asFile.get().absolutePath
                return "-Dstudio.home=$androidStudioPath"
            } else if (androidStudioHome.isPresent) {
                return "-Dstudio.home=${androidStudioHome.get()}"
            }
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Tue Feb 20 09:51:32 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

            if (!(jApiCompatibility instanceof JApiMethod) || !((JApiMethod) jApiCompatibility).getOldMethod().isPresent()) {
                return Optional.empty();
            }
            JApiMethod jApiMethod = (JApiMethod) jApiCompatibility;
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top