Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for removeProject (0.19 sec)

  1. subprojects/core/src/main/java/org/gradle/initialization/DefaultProjectDescriptorRegistry.java

        @Override
        public void changeDescriptorPath(Path oldPath, Path newPath) {
            DefaultProjectDescriptor projectDescriptor = removeProject(oldPath.toString());
            projectDescriptor.setPath(newPath);
            addProject(projectDescriptor);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 10:39:11 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProjectRegistry.java

            }
            subProjects.put(project.getPath(), new HashSet<T>());
            addProjectToParentSubProjects(project);
        }
    
        public T removeProject(String path) {
            T project = projects.remove(path);
            assert project != null;
            subProjects.remove(path);
            ProjectIdentifier loopProject = project.getParentIdentifier();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Dec 11 09:02:17 UTC 2022
    - 4K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectRegistryTest.java

        }
    
        @Test
        public void canRemoveProject() {
            String path = childChildMock.getPath();
            assertThat(projectRegistry.removeProject(path), sameInstance((ProjectInternal) childChildMock));
            assertThat(projectRegistry.getProject(path), nullValue());
            assertThat(projectRegistry.getProject(childChildMock.getProjectDir()), nullValue());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 19 10:56:37 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  4. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/RemoteProject.groovy

     * Checkout a project template from a git repository.
     */
    @CompileStatic
    @DisableCachingByDefault(because = "Not worth caching")
    abstract class RemoteProject extends DefaultTask {
    
        private final FileSystemOperations fsOps
        private final ExecOperations execOps
    
        @Inject
        RemoteProject(FileSystemOperations fsOps, ExecOperations execOps) {
            this.fsOps = fsOps
            this.execOps = execOps
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jul 06 10:57:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. build-logic/performance-testing/src/main/groovy/gradlebuild.performance-templates.gradle

    }
    
    abstract class DeleteOkBuckDirectory implements Action<RemoteProject> {
        @Inject
        abstract FileSystemOperations getFileSystemOperations()
    
        void execute(RemoteProject remoteProject) {
            fileSystemOperations.delete {
                delete(new File(remoteProject.outputDirectory, ".okbuck"))
            }
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 15:43:39 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. testing/smoke-test/build.gradle.kts

        if (BuildEnvironment.isCiServer) {
            remoteProjects.forEach { remoteProject ->
                remoteProject {
                    doNotTrackState("Do a full checkout on CI")
                }
            }
        }
    
        register<Delete>("cleanRemoteProjects") {
            remoteProjects.forEach { remoteProject ->
                delete(remoteProject.map { it.outputDirectory })
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. build-logic/performance-testing/src/main/kotlin/gradlebuild/performance/tasks/BuildCommitDistribution.kt

     */
    
    package gradlebuild.performance.tasks
    
    import com.google.gson.Gson
    import gradlebuild.basics.repoRoot
    import gradlebuild.identity.model.ReleasedVersions
    import gradlebuild.performance.generator.tasks.RemoteProject
    import org.gradle.api.DefaultTask
    import org.gradle.api.file.FileSystemOperations
    import org.gradle.api.file.RegularFileProperty
    import org.gradle.api.provider.Property
    import org.gradle.api.tasks.CacheableTask
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 08:07:16 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractSmokeTest.groovy

        }
    
        protected static String googleRepository(GradleDsl dsl = GROOVY) {
            RepoScriptBlockUtil.googleRepository(dsl)
        }
    
        void copyRemoteProject(String remoteProject, File targetDir) {
            new TestFile(new File("build/$remoteProject")).copyTo(targetDir)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 08:14:32 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top