- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getOrElse (0.1 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java
getPackageIncludes().getOrElse(Collections.emptyList()), getPackageExcludes().getOrElse(Collections.emptyList()), getClassIncludes().getOrElse(Collections.emptyList()), getClassExcludes().getOrElse(Collections.emptyList()), getMethodIncludes().getOrElse(Collections.emptyList()), getMethodExcludes().getOrElse(Collections.emptyList()),
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Apr 26 10:58:32 UTC 2023 - 13.3K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt
get() = gradleProperty(MAX_PARALLEL_FORKS).getOrElse("4").toInt() val Project.autoDownloadAndroidStudio: Boolean get() = propertyFromAnySource(AUTO_DOWNLOAD_ANDROID_STUDIO).getOrElse("false").toBoolean() val Project.runAndroidStudioInHeadlessMode: Boolean get() = propertyFromAnySource(RUN_ANDROID_STUDIO_IN_HEADLESS_MODE).getOrElse("false").toBoolean()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Oct 09 08:19:42 UTC 2024 - 16.9K bytes - Viewed (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
// Unacceptable String value if (!getSomeProperty().isPresent()) { value = "convention" } else { value = getSomeProperty().get() } // Also unacceptable String value = getSomeProperty().getOrElse("convention") // This should be always: String value = getSomeProperty().get() ``` ## Status ACCEPTED ## Consequences
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Oct 15 20:00:57 UTC 2024 - 10K bytes - Viewed (0)