- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for isPresent (0.17 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy
if (!changed(member)) { return null } Optional<CtClass> oldClass = member.oldClass Optional<CtClass> newClass = member.newClass if (!oldClass.isPresent() || !newClass.isPresent()) { // breaking change would be reported return null } return checkSuperClassChanges(member, oldClass.get(), newClass.get()) }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2.2K 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/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
} @Internal protected fun getContributorsFromPullRequests(): Set<GitHubUser> { if (!milestone.isPresent) { throw IllegalStateException("Milestone not set: please rerun the task with `--milestone <milestone>`") } val prs: MutableList<GitHubPullRequest> = mutableListOf()
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon May 16 05:03:11 GMT 2022 - 5.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/extensions.kt
* limitations under the License. */ package gradlebuild.binarycompatibility import japicmp.util.Optional internal
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 764 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/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/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt
jvmArgumentProviders.add(srcDistributionZip) } override fun executeTests() { cachesCleaner.get().cleanUpCaches() if (tracker.isPresent) { val daemonTrackerService = tracker.get() val testListener = daemonTrackerService.javaClass.getMethod("newDaemonListener").invoke(daemonTrackerService) as TestListener
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Fri Jul 01 22:53:59 GMT 2022 - 8K 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)