- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for toBoolean (0.22 sec)
-
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) /**
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Jan 01 01:23:31 GMT 2024 - 16.2K bytes - Viewed (0) -
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", "")
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Feb 09 22:52:01 GMT 2024 - 5.7K bytes - Viewed (2) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt
val integTestUseAgentSysPropName = "org.gradle.integtest.agent.allowed" if (project.hasProperty(integTestUseAgentSysPropName)) { val shouldUseAgent = (project.property(integTestUseAgentSysPropName) as? String).toBoolean() systemProperties[integTestUseAgentSysPropName] = shouldUseAgent.toString() } } private fun IntegrationTest.addDebugProperties() { // TODO Move magic property out
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Mon Feb 12 13:19:06 GMT 2024 - 11.7K bytes - Viewed (0) -
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) }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Mar 07 05:49:29 GMT 2024 - 4.6K bytes - Viewed (0)