Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 108 for withRole (0.17 sec)

  1. 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)
  2. 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)
  3. staging/src/k8s.io/client-go/applyconfigurations/core/v1/downwardapivolumefile.go

    	b.ResourceFieldRef = value
    	return b
    }
    
    // WithMode sets the Mode 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 Mode field is set to the value of the last call.
    func (b *DownwardAPIVolumeFileApplyConfiguration) WithMode(value int32) *DownwardAPIVolumeFileApplyConfiguration {
    	b.Mode = &value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/ChildMap.java

    import java.util.Optional;
    import java.util.stream.Stream;
    
    public interface ChildMap<T> {
    
        boolean isEmpty();
    
        int size();
    
        Stream<Entry<T>> stream();
    
        <RESULT> RESULT withNode(VfsRelativePath targetPath, CaseSensitivity caseSensitivity, NodeHandler<T, RESULT> handler);
    
        interface NodeHandler<T, RESULT> {
            RESULT handleAsDescendantOfChild(VfsRelativePath pathInChild, T child);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top