- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for isPresent (6.21 sec)
-
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)