Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for setUpProject (0.51 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheStandardStreamsIntegrationTest.groovy

    import javax.annotation.Nullable
    
    class ConfigurationCacheStandardStreamsIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
        def "#task task can run with default configuration"() {
            setUpProject(
                makeTask(task, extraArg: "Gradle")
            )
    
            when:
            configurationCacheRun("run")
    
            then:
            outputContains("Hello, Gradle")
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/BuildPhaseOperationEventCrossVersionTest.groovy

    @TargetGradleVersion('>=7.6')
    class BuildPhaseOperationEventCrossVersionTest extends ToolingApiSpecification {
    
        def "generates build phase events for task #taskName and expects #expectedReportedTasksCount run tasks"() {
            setupProject()
    
            when:
            def events = ProgressEvents.create()
            withConnection {
                it.newBuild().forTasks(taskName)
                    .addProgressListener(events, OperationType.BUILD_PHASE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 10:41:50 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy

                result.assertTaskOrder any(':jarOne', ':shadowJar'), ':jar', ':copyJars'
            }
        }
    
        void 'finalizer tasks are scheduled as expected (#requestedTasks)'() {
            given:
            setupProject()
    
            expect:
            2.times {
                succeeds(*requestedTasks)
                result.assertTasksExecutedInOrder any(':d', exact(':c', ':a')), ':b'
            }
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/TestExecutionBuildTaskSchedulerTest.groovy

            debugOptions.isDebugMode() >> false
            testExecutionRequest.getDebugOptions() >> debugOptions
            testExecutionRequest.getTaskSpecs() >> []
    
            setupProject()
            setupTestTask()
        }
    
        private void setupProject() {
            _ * gradleInternal.owner >> buildState
            _ * buildState.projects >> buildProjectRegistry
            _ * buildProjectRegistry.allProjects >> [projectState]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

            } else {
                Tar tar = new Tar()
                tar.setProject(new Project())
                setSourceDirectory(tar, readOnly)
                tar.setDestFile(tarFile)
                tar.execute()
            }
        }
    
        void tgzTo(TestFile tarFile, boolean readOnly) {
            Tar tar = new Tar()
            tar.setProject(new Project())
            setSourceDirectory(tar, readOnly)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/GradleProjectBuilder.java

            LaunchableGradleProjectTask model = buildFromTask(new LaunchableGradleProjectTask(), owner.getProjectIdentifier(), task);
            model.setProject(owner);
            return model;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 13:57:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-application/src/main/java/org/gradle/api/internal/plugins/StartScriptGenerator.java

            }
    
            private void createWindowsExecutablePermission(File file) {
                Chmod chmod = new Chmod();
                chmod.setFile(file);
                chmod.setPerm("ugo+rx");
                chmod.setProject(AntUtil.createProject());
                chmod.execute();
            }
    
            private void createPosixExecutablePermission(File file) {
                Path path = file.toPath();
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            try {
                if (result.hasExceptions()) {
                    return result;
                }
    
                result.setTopologicallySortedProjects(session.getProjects());
    
                result.setProject(session.getTopLevelProject());
    
                validatePrerequisitesForNonMavenPluginProjects(session.getProjects());
    
                validateRequiredProfiles(session, request.getProfileActivation());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  9. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

            TestFile zipFile = file(path);
            zip.setDestFile(zipFile);
            zip.setBasedir(this);
            zip.setExcludes("**");
            zip.setProject(new Project());
            zip.execute();
            return zipFile;
        }
    
        public TestFile zipTo(TestFile zipFile) {
            return zipTo(zipFile, false);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_6.adoc

    ==== Discontinued methods
    The following methods have been discontinued and should no longer be used. They will be removed in Gradle 7.0.
    
    - `BasePluginConvention.setProject(ProjectInternal)`
    - `BasePluginConvention.getProject()`
    - `StartParameter.useEmptySettings()`
    - `StartParameter.isUseEmptySettings()`
    
    [[upgrading_jvm_plugins]]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top