- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 71 for withIdle (0.43 sec)
-
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/AbstractCompileAvoidanceIntegrationTest.kt
""" ) } protected fun javaSourceFile(baseDir: String, classBody: String, classAnnotations: String = ""): String { val className = "Foo" withFile( "$baseDir/src/main/java/com/example/$className.java", """ package com.example; $classAnnotations public class $className { $classBody
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Sep 24 17:45:43 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginCrossVersionSmokeTest.kt
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach { kotlinOptions.freeCompilerArgs += "-Xskip-metadata-version-check" } """ ) withFile("buildSrc/src/main/kotlin/some.gradle.kts", """println("some!")""") withDefaultSettings() withBuildScript("""plugins { id("some") }""") expectConventionDeprecations()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 29 11:39:00 UTC 2024 - 11.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r54/KotlinSettingsScriptModelCrossVersionSpec.groovy
def settings = withFile("my.settings.gradle.kts", """ buildscript { dependencies { classpath(files("${normalizedPathOf(settingsDependency)}")) } } """) and: def projectDependency = withEmptyJar("project-dependency.jar") withFile("build.gradle", """ buildscript {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/resolver/KotlinScriptDependenciesResolverTest.kt
"Project" ) } private fun assertSucceedsForScriptWithReceiver(fileName: String, receiverType: String) { assertSucceeds( withFile(fileName, requiringImplicitReceiverOf(receiverType)) ) } private fun requiringImplicitReceiverOf(type: String) = """ val $type.implicitReceiver get() = this
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:12:50 UTC 2024 - 14.3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/validationrule.go
return &ValidationRuleApplyConfiguration{} } // WithRule sets the Rule field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Rule field is set to the value of the last call. func (b *ValidationRuleApplyConfiguration) WithRule(value string) *ValidationRuleApplyConfiguration { b.Rule = &value return b
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 22:34:13 UTC 2023 - 4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/validationrule.go
return &ValidationRuleApplyConfiguration{} } // WithRule sets the Rule field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Rule field is set to the value of the last call. func (b *ValidationRuleApplyConfiguration) WithRule(value string) *ValidationRuleApplyConfiguration { b.Rule = &value return b
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 22:34:13 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/SettingsSchemaAccessorsIntegrationTest.kt
withFile("plugins/src/main/kotlin/$fileName", text) } @Test fun `can access extension registered by included build plugin`() { // when: val result = build("ok") // then: result.assertOutputContains("It's 42!") // when: plugin changes in an incompatible way
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:46 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/DelegatedGradlePropertiesIntegrationTest.kt
) } @Test fun `delegated properties follow Gradle mechanics and allow to model optional properties via nullable kotlin types`() { // given: build root gradle.properties file withFile( "gradle.properties", """ setBuildProperty=build value emptyBuildProperty= userHomeOverriddenBuildProperty=build value
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 7.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/accessors/AccessorsClassPathIntegrationTest.kt
@Test fun `warning is emitted if a gradle slash project dash schema dot json file is present`() { withDefaultSettings() withBuildScript("") withFile(projectSchemaResourcePath) assertThat(build("help").output, containsString(projectSchemaResourceDiscontinuedWarning)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.2K bytes - Viewed (0) -
testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/ScriptCachingIntegrationTest.kt
// given: same init, settings & build files all applying same script val same = withFile("same.gradle.kts", """println("Same script on ${'$'}this")""") val sameApply = """apply(from = "same.gradle.kts")""" val initScriptFile = withFile("same.init.gradle.kts", sameApply) val initializationFile = cachedInitializationFile(initScriptFile, false, true)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 11:33:23 UTC 2024 - 13.4K bytes - Viewed (0)