Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getOrElse (0.22 sec)

  1. 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)
  2. 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)
  3. build-logic-commons/build-platform/build.gradle.kts

    val asmVersion = "9.7"
    // To try out better kotlin compilation avoidance and incremental compilation
    // with -Pkotlin.incremental.useClasspathSnapshot=true
    val kotlinVersion = providers.gradleProperty("buildKotlinVersion")
        .getOrElse(embeddedKotlinVersion)
    
    dependencies {
        constraints {
            api("org.gradle.guides:gradle-guides-plugin:0.23")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 29 21:53:00 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

                it.parentFile.mkdirs()
            }
            ReproduciblePropertiesWriter.store(
                Properties().apply {
                    put("commitId", commitId.getOrElse("HEAD"))
                    put("versionNumber", version.get())
                    put("baseVersion", baseVersion.get())
                    put("isSnapshot", snapshot.get().toString())
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. 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)
  6. test-site/activator-launch-1.3.2.jar

    synchronized class Option implements Product, Serializable { public collection.Iterator productIterator(); public String productPrefix(); public abstract boolean isEmpty(); public final boolean isDefined(); public abstract Object get(); public final Object getOrElse(Function0); public final Option map(Function1); public final Option flatMap(Function1); public final Option filter(Function1); public final Option$WithFilter withFilter(Function1); public final boolean forall(Function1); public final Option orElse(Function0);...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
Back to top