Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for rootSpec (0.16 sec)

  1. subprojects/core/src/main/java/org/gradle/api/tasks/AbstractCopyTask.java

    public abstract class AbstractCopyTask extends ConventionTask implements CopySpec, CopySpecSource {
    
        private final CopySpecInternal rootSpec;
        private final CopySpecInternal mainSpec;
    
        protected AbstractCopyTask() {
            this.rootSpec = createRootSpec();
            rootSpec.addChildSpecListener((path, spec) -> {
                if (getState().getExecuting()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 10:41:40 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/developingPlugins/pluginWithVariants/groovy/build.gradle

                          objects.named(GradlePluginApiVersion, '7.0'))
            }
        }
    }
    
    tasks.named(gradle7.processResourcesTaskName) { // <3>
        def copyPluginDescriptors = rootSpec.addChild()
        copyPluginDescriptors.into('META-INF/gradle-plugins')
        copyPluginDescriptors.from(tasks.pluginDescriptors)
    }
    
    dependencies {
        gradle7CompileOnly(gradleApi()) // <4>
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 01:32:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/developingPlugins/pluginWithVariants/kotlin/build.gradle.kts

                    objects.named("7.0"))
            }
        }
    }
    
    tasks.named<Copy>(gradle7.processResourcesTaskName) { // <3>
        val copyPluginDescriptors = rootSpec.addChild()
        copyPluginDescriptors.into("META-INF/gradle-plugins")
        copyPluginDescriptors.from(tasks.pluginDescriptors)
    }
    
    dependencies {
        "gradle7CompileOnly"(gradleApi()) // <4>
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 01:32:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

                throw err.build()
            }
        }
    
        interface TestEventsSpec {
            void task(String path, @DelegatesTo(value = TestEventSpec, strategy = Closure.DELEGATE_FIRST) Closure<?> rootSpec)
        }
    
        interface TestEventSpec {
            void operationDisplayName(String displayName)
    
            void testDisplayName(String displayName)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/variants/GradlePluginWithVariantsPublicationIntegrationTest.groovy

                        }
                    }
                }
                tasks.named(gradle7.processResourcesTaskName) {
                    def copyPluginDescriptors = rootSpec.addChild()
                    copyPluginDescriptors.into('META-INF/gradle-plugins')
                    copyPluginDescriptors.from(tasks.pluginDescriptors)
                }
                // ==
    
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

                    children.size() == 1
                    children[0].path == "Other.java"
                }
            }
    
            def bJar = snapshotResults(":b:jar").inputFileProperties
            with(bJar["rootSpec\$1"]) {
                hash != null
                roots.size() == 1
                with(roots[0]) {
                    path == file("b/build/classes/java/main").absolutePath
                    children.size() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

                    into 'build/exploded'
                    with zip
                }
                task copyFromRootSpec(type: Copy) {
                    into 'build/copy'
                    with zip.rootSpec
                }
            '''
            when:
            run 'explodedZip', 'copyFromRootSpec'
            then:
            file('build/exploded').assertHasDescendants(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

            skipped(':copy')
    
            when:
            run "copy", "--info", "-Dnew-value"
    
            then:
            executedAndNotSkipped(':copy')
            output.contains "Value of input property 'rootSpec\$1\$1.$property' has changed for task ':copy'"
    
            when:
            run "copy", "--info", "-Dnew-value"
    
            then:
            skipped(':copy')
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  9. tests/integration/security/ca_custom_root/main_test.go

    func setupConfig(_ resource.Context, cfg *istio.Config) {
    	if cfg == nil {
    		return
    	}
    	// Add alternate root certificate to list of trusted anchors
    	script := path.Join(env.IstioSrc, "samples/certs", "root-cert-alt.pem")
    	rootPEM, err := cert.LoadCert(script)
    	if err != nil {
    		return
    	}
    
    	cfgYaml := tmpl.MustEvaluate(`
    values:
      pilot:
        env:
          ISTIO_MULTIROOT_MESH: true
      meshConfig:
        defaultConfig:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. src/crypto/tls/example_test.go

    type zeroSource struct{}
    
    func (zeroSource) Read(b []byte) (n int, err error) {
    	clear(b)
    	return len(b), nil
    }
    
    func ExampleDial() {
    	// Connecting with a custom root-certificate set.
    
    	const rootPEM = `
    -- GlobalSign Root R2, valid until Dec 15, 2021
    -----BEGIN CERTIFICATE-----
    MIIDujCCAqKgAwIBAgILBAAAAAABD4Ym5g0wDQYJKoZIhvcNAQEFBQAwTDEgMB4G
    A1UECxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjIxEzARBgNVBAoTCkdsb2JhbFNp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top