Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 95 for identityPath (0.34 sec)

  1. subprojects/core/src/test/groovy/org/gradle/util/internal/NameValidatorTest.groovy

        }
    
        def "tasks are not allowed to be named '#name'"() {
            when:
            def project = Mock(ProjectInternal) {
                projectPath(_) >> Path.path(":foo:bar")
                identityPath(_) >> Path.path("build:foo:bar")
                getGradle() >> Mock(GradleInternal) {
                    getIdentityPath() >> Path.path(":build:foo:bar")
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 13 22:27:15 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskNodeCodec.kt

        withIsolate(IsolateOwners.OwnerTask(task), codec) {
            withPropertyTrace(PropertyTrace.Task(taskType, task.identityPath.path)) {
                if (task.isCompatibleWithConfigurationCache) {
                    action()
                } else {
                    forIncompatibleType(task.identityPath.path, action)
                }
            }
        }
    }
    
    
    private
    sealed class RegisteredProperty {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/plugins/SwiftBasePluginTest.groovy

            project.components.add(component)
            project.evaluate()
    
            then:
            def publications = project.services.get(ProjectPublicationRegistry).getPublications(NativeProjectPublication, project.identityPath)
            publications.size() == 1
            publications.first().getCoordinates(SwiftPmTarget).targetName == "SomeApp"
        }
    
        class TestPlatformToolProvider extends AbstractPlatformToolProvider {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppBasePluginTest.groovy

            project.components.add(component)
            project.evaluate()
    
            then:
            def publications = project.services.get(ProjectPublicationRegistry).getPublications(NativeProjectPublication, project.identityPath)
            publications.size() == 1
            publications.first().getCoordinates(SwiftPmTarget).targetName == "SomeApp"
        }
    
        class TestPlatformToolProvider extends AbstractPlatformToolProvider {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  5. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/publication/DefaultMavenPublicationTest.groovy

            projectDependency.getGroup() >> "pub-group"
            projectDependency.getName() >> "pub-name"
            projectDependencyResolver.resolveComponent(ModuleVersionIdentifier, projectDependency.identityPath) >> DefaultModuleVersionIdentifier.newId("pub-group", "pub-name", "pub-version")
    
            when:
            publication.from(componentWithDependency(projectDependency))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 01:33:41 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/configuration/project/LifecycleProjectEvaluatorTest.groovy

            gradle.startParameter >> new StartParameter()
            project.projectPath >> Path.path(":project1")
            project.path >> project.projectPath.toString()
            project.identityPath >> Path.path(":project1")
            project.stepEvaluationListener(listener, _) >> { listener, step ->
                step.execute(listener)
                null
            }
            project.getOwner() >> mutationState
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskContainer.java

            }
            return new TaskCreationException(String.format("Could not create task '%s'.", project.identityPath(name)), cause);
        }
    
        private static BuildOperationDescriptor.Builder realizeDescriptor(TaskIdentity<?> identity, boolean replacement, boolean eager) {
            return BuildOperationDescriptor.displayName("Realize task " + identity.identityPath)
                .details(new RealizeDetails(identity, replacement, eager));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 09:54:40 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultProjectDependency.java

        }
    
        @Override
        public String toString() {
            return "DefaultProjectDependency{" + "identityPath='" + getIdentityPath() + '\'' + ", configuration='"
                + (getTargetConfiguration() == null ? Dependency.DEFAULT_CONFIGURATION : getTargetConfiguration()) + '\'' + '}';
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 13:59:13 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. platforms/extensibility/plugin-development/src/test/groovy/org/gradle/plugin/devel/plugins/JavaGradlePluginPluginTest.groovy

                    b { id = "b.plugin" }
                }
            }
    
            then:
            def publications = project.services.get(ProjectPublicationRegistry).getPublications(PluginPublication, project.identityPath)
            publications.size() == 2
            publications[0].pluginId == DefaultPluginId.of("a.plugin")
            publications[1].pluginId == DefaultPluginId.of("b.plugin")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/execution/taskgraph/DefaultTaskExecutionGraphSpec.groovy

            _ * task.sharedResources >> []
        }
    
        def brokenTask(String name, RuntimeException failure) {
            def mock = Mock(TaskInternal)
            _ * mock.name >> name
            _ * mock.identityPath >> project.identityPath.child(name)
            _ * mock.project >> project
            _ * mock.state >> Stub(TaskStateInternal) {
                getFailure() >> failure
                rethrowFailure() >> { throw failure }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top