Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for withCmd (0.16 sec)

  1. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/containers/GradleContainer.groovy

            def dockerClient = DockerClientFactory.instance().client()
            dockerClient.execCreateCmd(containerId).withCmd(command)
            def execCreateCmdResponse = dockerClient
                .execCreateCmd(containerId)
                .withAttachStdout(true)
                .withAttachStderr(true)
                .withCmd(command)
                .exec()
            def stdoutConsumer = new ToStringConsumer() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/core/v1/linuxcontaineruser.go

    	return &LinuxContainerUserApplyConfiguration{}
    }
    
    // WithUID sets the UID 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 UID field is set to the value of the last call.
    func (b *LinuxContainerUserApplyConfiguration) WithUID(value int64) *LinuxContainerUserApplyConfiguration {
    	b.UID = &value
    	return b
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishDescriptorCustomizationIntegTest.groovy

            module.ivyFile.assertDoesNotExist()
        }
    
        def "produces sensible error when withXML fails"() {
            when:
            buildFile << """
                publishing {
                    publications {
                        ivy {
                            descriptor.withXml {
                                asNode().foo = "3"
                            }
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishPomCustomizationIntegTest.groovy

            failure.assertHasLineNumber(15)
            failure.assertHasCause("Could not apply withXml() to generated POM")
            failure.assertHasCause("No such property: foo for class: groovy.util.Node")
        }
    
        def "has reasonable error message when withXml produces invalid POM file"() {
            given:
            settingsFile << "rootProject.name = 'root'"
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/PluginDetectionIntegrationTest.groovy

        def "core plugins are detectable - applied by #appliedBy, detected by #detectedBy"() {
            buildFile << """
                def operations = []
                plugins.withId("$detectedBy") {
                    operations << 'withId for ' + it.class.simpleName
                }
                pluginManager.withPlugin("$detectedBy") {
                    // assert we are using our closure decoration and not closure coercion
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaWorkspaceIntegrationTest.groovy

        void enablesCustomizationOfIws() {
            //when
            runIdeaTask '''
    apply plugin: "java"
    apply plugin: "idea"
    
    idea.workspace.iws.withXml { it.asNode().appendNode('foo', 'bar') }
    
    idea {
        workspace {
            iws {
                withXml {
                    it.asNode().appendNode('stay', 'happy')
                }
            }
        }
    }
    '''
    
            //then
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/buildCache/caching-android-projects/groovy/build.gradle

    plugins {
        id("org.jetbrains.kotlin.jvm") version "1.9.23"
        id("org.jetbrains.kotlin.kapt") version "1.9.23"
    }
    
    // tag::cacheKapt[]
    plugins.withId("kotlin-kapt") {
        kapt.useBuildCache = true
    }
    // end::cacheKapt[]
    
    // tag::fabricGroovy[]
    plugins.withId("com.android.application") { // or "com.android.library"
        android.buildTypes.debug.ext.enableCrashlytics = false
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 09:36:42 UTC 2024
    - 402 bytes
    - Viewed (0)
  8. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/IvyModuleDescriptorSpec.java

    /**
     * The descriptor of any Ivy publication.
     * <p>
     * Corresponds to the <a href="http://ant.apache.org/ivy/history/latest-milestone/ivyfile.html">XML version of the Ivy Module Descriptor</a>.
     * <p>
     * The {@link #withXml(org.gradle.api.Action)} method can be used to modify the descriptor after it has been generated according to the publication data.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/NonDeclarativePluginUseIntegrationSpec.groovy

            when:
            buildScript """
                $USE
    
                def ops = []
    
                plugins.withId('$PLUGIN_ID') {
                  ops << "withId 1"
                }
    
                plugins.withId("test-plugin-2") {
                  ops << "withId 2"
                }
    
                def class1 = ${pluginBuilder.packageName}.TestPlugin
                def class2 = ${pluginBuilder2.packageName}.TestPlugin2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/idea/model/IdeaModelTest.groovy

            then:
            1 * model.workspace.iws.getXmlTransformer()
    
            when: "configure workspace xml"
            model.workspace.iws.withXml(xmlAction)
    
            then:
            1 * xmlTransformer.addAction(xmlAction)
        }
    
        def "can configure project with Actions"() {
            given:
            def xmlTransformer = Mock(XmlTransformer)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top