Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 95 for identityPath (0.34 sec)

  1. subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildTest.groovy

            expect:
            def id = build.idToReferenceProjectFromAnotherBuild(projectId)
            id.identityPath == projectId.identityPath
            id.identityPath.path == projectId.buildTreePath
            id.projectPath == projectId.projectPath
            id.projectName == projectId.projectName
        }
    
        def "can run action against build state"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 22 14:22:44 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuild.java

    import java.io.File;
    
    public class DefaultIncludedBuild extends AbstractCompositeParticipantBuildState implements IncludedBuildState {
        private final BuildIdentifier buildIdentifier;
        private final Path identityPath;
        private final BuildDefinition buildDefinition;
        private final boolean isImplicit;
        private final IncludedBuildImpl model;
    
        public DefaultIncludedBuild(
            BuildIdentifier buildIdentifier,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 06 15:09:14 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/project/taskfactory/TaskFactory.java

                    identity.identityPath.toString(),
                    identity.type.getSimpleName()));
            } else {
                throw new InvalidUserDataException(String.format(
                    "Cannot create task '%s' of type '%s' as directly extending AbstractTask is not supported.",
                    identity.identityPath.toString(),
                    identity.type.getSimpleName()));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 08:37:31 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintController.kt

            }
    
            override fun <T> resolveScriptsForProject(identityPath: Path, action: () -> T): T {
                return fingerprintWriter.runCollectingFingerprintForProject(identityPath, action)
            }
    
            override fun <T> runCollectingFingerprintForProject(identityPath: Path, action: () -> T): T {
                return fingerprintWriter.runCollectingFingerprintForProject(identityPath, action)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  5. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/RootOfNestedBuildTree.java

        private final BuildIdentifier buildIdentifier;
        private final Path identityPath;
        private final BuildTreeLifecycleController buildTreeLifecycleController;
    
        public RootOfNestedBuildTree(
            BuildDefinition buildDefinition,
            BuildIdentifier buildIdentifier,
            Path identityPath,
            BuildState owner,
            BuildTreeState buildTree
        ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:17:50 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildRegistryTest.groovy

            nestedBuild1.identityPath == Path.path(":buildSrc")
    
            def nestedBuild2 = registry.getBuildSrcNestedBuild(parent)
            // Shows current behaviour, not necessarily desired behaviour
            nestedBuild2.buildIdentifier == buildIdentifier(":parent:buildSrc")
            nestedBuild2.identityPath == Path.path(":parent:buildSrc")
        }
    
        def build(String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 14:36:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/execution/plan/AbstractExecutionPlanSpec.groovy

            def projectState = Mock(ProjectState)
    
            def project = Mock(ProjectInternal, name: name)
            _ * project.identityPath >> (parent == null ? Path.ROOT : Path.ROOT.child(name))
            _ * project.projectPath(_) >> { taskName -> Path.ROOT.child(taskName) }
            _ * project.identityPath(_) >> { taskName -> (parent == null ? Path.ROOT : Path.ROOT.child(name)).child(taskName) }
            _ * project.gradle >> thisBuild
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 24 11:56:02 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  8. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/BuildStateFactory.java

        }
    
        public StandAloneNestedBuild createNestedBuild(BuildIdentifier buildIdentifier, Path identityPath, BuildDefinition buildDefinition, BuildState owner) {
            DefaultNestedBuild build = new DefaultNestedBuild(buildIdentifier, identityPath, buildDefinition, owner, buildTreeState);
            // Expose any contributions from the parent's settings
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/scripts/ProjectScopedScriptResolution.java

        ProjectScopedScriptResolution NO_OP = new ProjectScopedScriptResolution() {
            @Override
            public <T> T resolveScriptsForProject(Path identityPath, Supplier<T> action) {
                return action.get();
            }
        };
    
        <T> T resolveScriptsForProject(Path identityPath, Supplier<T> action);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/tooling/GradleBuildBuilderTest.groovy

            rootProject.childProjects >> [].toSet()
            rootProject.identityPath >> Path.path(":some:identity:path")
    
            includedProject1.childProjects >> [].toSet()
            includedProject1.identityPath >> Path.path(":some:identity:path")
            includedProject2.childProjects >> [].toSet()
            includedProject2.identityPath >> Path.path(":some:identity:path")
    
            rootBuild.includedBuilds() >> [includedBuild1]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top