Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for toBoolean (0.06 seconds)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    
    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()
    
    
    val Project.androidStudioHome: Provider<String>
        get() = propertyFromAnySource(STUDIO_HOME)
    
    
    /**
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 18 22:01:30 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  2. settings.gradle.kts

    project(":mockwebserver-junit5").name = "mockwebserver3-junit5"
    
    val androidBuild: String by settings
    val graalBuild: String by settings
    val loomBuild: String by settings
    
    if (androidBuild.toBoolean()) {
      include(":regression-test")
    }
    
    if (graalBuild.toBoolean()) {
      include(":native-image-tests")
    }
    
    include(":okcurl")
    include(":okhttp")
    include(":okhttp-bom")
    include(":okhttp-brotli")
    include(":okhttp-coroutines")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Oct 11 09:17:37 GMT 2025
    - 2K bytes
    - Click Count (0)
  3. container-tests/build.gradle.kts

    tasks.withType<Test> {
      useJUnitPlatform()
      onlyIf("By default not in CI") {
        System.getenv("CI") == null
          || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean())
      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
      )
    
      if (platform == "loom") {
        jvmArgs(
          "-Djdk.tracePinnedThreads=short",
        )
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Mar 17 14:46:34 GMT 2024
    - 1.1K bytes
    - Click Count (1)
  4. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

                runningDocsTestTask = provider { isRunningDocsTestTask() }
                enableConfigurationCacheForDocsTests = providers.gradleProperty("enableConfigurationCacheForDocsTests").map { it.toBoolean() }
            }
        }
    
    
    fun Project.buildTimestampFromBuildReceipt(): Provider<String> =
        providers.of(BuildTimestampFromBuildReceiptValueSource::class) {
            parameters {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. android-test/build.gradle.kts

    @file:Suppress("UnstableApiUsage")
    
    plugins {
      id("com.android.library")
      kotlin("android")
      id("de.mannodermaus.android-junit5")
    }
    
    val androidBuild = property("androidBuild").toString().toBoolean()
    
    android {
      compileSdk = 35
    
      namespace = "okhttp.android.test"
    
      defaultConfig {
        minSdk = 21
    
        // Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 21 12:33:41 GMT 2025
    - 3.9K bytes
    - Click Count (2)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

            "CompileAllBuild_NGRemote"
        ) || isBuildCommitDistribution
    
    val Project.isBuildCommitDistribution: Boolean
        get() = providers.gradleProperty("buildCommitDistribution").map { it.toBoolean() }.orElse(false).get()
    
    
    fun Project.isInBuild(vararg buildTypeIds: String) = providers.environmentVariable("BUILD_TYPE_ID").orNull?.let { currentBuildTypeId ->
        buildTypeIds.any { currentBuildTypeId.endsWith(it) }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Apr 11 20:57:49 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        val isIntel: Boolean = architecture == "x86_64" || architecture == "x86"
        val isSlowInternetConnection
            get() = System.getProperty("slow.internet.connection", "false")!!.toBoolean()
        val agentNum: Int
            get() {
                if (System.getenv().containsKey("USERNAME")) {
                    val agentNumEnv = System.getenv("USERNAME").replaceFirst("tcagent", "")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Dec 21 08:58:33 GMT 2024
    - 4.7K bytes
    - Click Count (1)
  8. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

        val integtestAgentAllowed = project.providers.gradleProperty(integTestUseAgentSysPropName);
        if (integtestAgentAllowed.isPresent) {
            val shouldUseAgent = integtestAgentAllowed.get().toBoolean()
            systemProperties[integTestUseAgentSysPropName] = shouldUseAgent.toString()
        }
    }
    
    
    private
    fun IntegrationTest.addDebugProperties() {
        if (project.daemonDebuggingIsEnabled) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 18 16:39:23 GMT 2025
    - 12.8K bytes
    - Click Count (0)
Back to Top