- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for isPresent (0.78 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
if (!wildcardType.getExtendedType().isPresent() && !wildcardType.getSuperType().isPresent()) { typeMetaData.setWildcard(); } else { wildcardType.getExtendedType().ifPresent(referenceType -> typeMetaData.setUpperBounds(extractTypeName(referenceType))); wildcardType.getSuperType().ifPresent(referenceType -> typeMetaData.setLowerBounds(extractTypeName(referenceType)));
Java - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Thu Sep 21 13:27:02 GMT 2023 - 11.7K bytes - Viewed (0) -
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) -
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) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt
} }.toMap() /** * Creates a [Provider] that returns `true` when this [Provider] has a value * and `false` otherwise. The returned [Provider] always has a value. * @see Provider.isPresent */ private fun <T> Provider<T>.presence(): Provider<Boolean> = map { true }.orElse(false) fun Project.gradleProperty(propertyName: String) = providers.gradleProperty(propertyName)
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Mon Jan 01 01:23:31 GMT 2024 - 16.2K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioSystemProperties.kt
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) -
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) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
Set<AccessorKey> seenOldAccessorsOfUpgradedProperties = (Set<AccessorKey>) context.userData[SEEN_OLD_ACCESSORS_OF_UPGRADED_PROPERTIES] UpgradedProperties.maybeGetKeyOfOldAccessorOfUpgradedProperty(member, context).ifPresent { seenOldAccessorsOfUpgradedProperties.add(it) } def change = new ApiChange( context.className, Violation.describe(member), changes )
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Apr 23 08:40:36 GMT 2024 - 10.4K bytes - Viewed (0)