Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for rootSpec (0.27 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. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ZipIntegrationTest.groovy

            when:
            succeeds "zip", "--info"
            then:
            executedAndNotSkipped(":zip")
            output.contains "Value of input property 'rootSpec\$1\$1.destPath' has changed for task ':zip'"
            output.contains "Value of input property 'rootSpec\$1\$1\$1.destPath' has changed for task ':zip'"
        }
    
        private def createTestFiles() {
            createDir('dir1', {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildBuildPathAssignmentIntegrationTest.groovy

                [path: matcher.group(1), name: matcher.group(2)]
            }
        }
    
        List<BuildTestFile> nestedBuilds(Closure configuration) {
            def rootSpec = new RootNestedBuildSpec(temporaryFolder)
            rootSpec.with(configuration)
            def builds = rootSpec.nestedBuilds
            configureNestedBuild(builds)
            builds
        }
    
        class RootNestedBuildSpec {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 09:41:26 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  6. 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)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyErrorIntegrationTest.groovy

                failure.assertHasDescription("Execution failed for task ':copy'.")
                failure.assertHasDocumentedCause("Cannot access input property 'rootSpec\$1' of task ':copy'. " +
                    "Accessing unreadable inputs or outputs is not supported. " +
                    "Declare the task as untracked by using Task.doNotTrackState(). " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 10:48:19 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top