Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for buildScript (0.31 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

        def "changing expansion makes task out-of-date"() {
            given:
            buildScript '''
                task (copy, type:Copy) {
                   from 'src'
                   into 'dest'
                   expand(one: 1)
                }
            '''.stripIndent()
            run 'copy'
    
            buildScript '''
                task (copy, type:Copy) {
                   from 'src'
                   into 'dest'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

                executer.withPluginRepositoryMirrorDisabled();
            }
    
            return executer;
        }
    
        @Override
        @Deprecated
        public GradleExecuter usingBuildScript(File buildScript) {
            this.buildScript = buildScript;
            return this;
        }
    
        @Override
        public GradleExecuter usingProjectDirectory(File projectDir) {
            this.projectDir = projectDir;
            return this;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformBuildOperationIntegrationTest.groovy

            getPlannedNodes(0)
            getExecutePlannedStepOperations(0).empty
        }
    
        def "planned transform steps from script plugin buildscript block are not captured"() {
            setupProjectTransformInBuildScriptBlock(true)
    
            when:
            run "consumer:hello"
            then:
            executedAndNotSkipped(":consumer:hello")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 67.8K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProject.java

        @Override
        public File getBuildFile() {
            return buildFile;
        }
    
        @Override
        public void setScript(groovy.lang.Script buildScript) {
            extensibleDynamicObject.addObject(new BeanDynamicObject(buildScript).withNoProperties().withNotImplementsMissing(),
                ExtensibleDynamicObject.Location.BeforeConvention);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    .Declare plugin dependencies in the root build script using the `buildscript {}` block
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionIntegrationTest.groovy

        }
    
        def 'can use ListProperty of ComponentArtifactIdentifier as task input'() {
            given:
            def configurationCache = newConfigurationCacheFixture()
            buildScript '''
                plugins {
                    id 'java-library'
                }
    
                dependencies {
                    implementation(gradleApi())
                }
    
                @CacheableTask
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  7. testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt

    Method <org.gradle.api.Project.buildscript(groovy.lang.Closure)> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (Project.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:21:31 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         * passed to the closure as the closure's delegate.
         *
         * @param configureClosure the closure to use to configure the build script classpath.
         */
        void buildscript(Closure configureClosure);
    
        /**
         * Copies the specified files.  The given closure is used to configure a {@link CopySpec}, which is then used to
         * copy the files. Example:
         * <pre>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    Since 8.0, this implicit dependency is removed.
    Now, depending on `classesDirs` only executes the tasks which directly produce files in the classes directories.
    
    Consider the following buildscript:
    ```groovy
    plugins {
        id 'java-library'
    }
    // Task lists all files in the given classFiles FileCollection
    tasks.register("listClassFiles", ListClassFiles) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    [[changes_8.3]]
    == Upgrading from 8.2 and earlier
    
    === Potential breaking changes
    
    ==== Deprecated `Project.buildDir` can cause script compilation failure
    
    With the deprecation of `Project.buildDir`, buildscripts that are compiled with warnings as errors could fail if the deprecated field is used.
    
    See <<#project_builddir, the deprecation entry>> for details.
    
    ==== `TestLauncher` API no longer ignores build failures
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
Back to top