Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 92 for participant (0.38 sec)

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

            originBuildInvocationId(":buildSrc:w") == null
    
            when:
            succeeds("help")
    
            then:
            originBuildInvocationId(":buildSrc:w") == origin
        }
    
        def "composite participant tasks advertise build id"() {
            given:
            ["a", "b"].each {
                file("$it/build.gradle").text = """
                    tasks.create("w", WriteProperties) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 08:27:17 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/settings.md

    def say_hi(name: str, salutation: str = "Ms."):
        return f"Hello {salutation} {name}"
    ```
    
    your program could execute like this:
    
    ```mermaid
    sequenceDiagram
    
    participant code as Code
    participant function as say_hi()
    participant execute as Execute function
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Camila")
            function ->> execute: execute function code
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            //
            // The projects need to be topologically after the participants have run their afterProjectsRead(session)
            // because the participant is free to change the dependencies of a project which can potentially change the
            // topological order of the projects, and therefore can potentially change the build order.
            //
            // Note that participants may affect the topological order of the projects but it is
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/settings.md

    ```Python
    @lru_cache
    def say_hi(name: str, salutation: str = "Ms."):
        return f"Hello {salutation} {name}"
    ```
    
    您的程序可以像这样执行:
    
    ```mermaid
    sequenceDiagram
    
    participant code as Code
    participant function as say_hi()
    participant execute as Execute function
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Camila")
            function ->> execute: 执行函数代码
            execute ->> code: 返回结果
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDeclaredSubstitutionsIntegrationTest.groovy

                    configuration = "runtimeElements"
                    compositeSubstitute()
                }
            }
        }
    
        def "substitutes external dependency with project dependency from same participant build"() {
            given:
            dependency "org.test:buildB:1.0"
            dependency buildB, "org.test:b2:1.0"
    
            when:
            includeBuild buildB, """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 01 20:36:42 UTC 2022
    - 14.4K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/CompositeBuildIdeaProjectIntegrationTest.groovy

            imlHasDependencies "b1-renamed", "b2"
        }
    
        @ToBeFixedForConfigurationCache
        def "builds IDEA when one participant does not have IDEA plugin applied"() {
            given:
            dependency "org.test:buildB:1.0"
            dependency "org.test:buildC:1.0"
    
            def buildC = singleProjectBuild("buildC") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultConflictHandler.java

            resolutionAction.execute(result);
            if (selected != null) {
                maybeSetReason(conflict.participants, selected);
            }
            LOGGER.debug("Selected {} from conflicting modules {}.", selected, conflict.candidates);
        }
    
        private void maybeSetReason(Set<ModuleIdentifier> partifipants, ComponentResolutionState selected) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    Time flows from top to bottom. And each column is one of the parts interacting or executing code.
    
    ```mermaid
    sequenceDiagram
    
    participant client as Client
    participant handler as Exception handler
    participant dep as Dep with yield
    participant operation as Path Operation
    participant tasks as Background tasks
    
        Note over client,tasks: Can raise exception for dependency, handled after response is sent
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:07:37 UTC 2024
    - 395.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultConflictResolverDetails.java

        private final Collection<? extends T> participants;
        private T selected;
        private Throwable failure;
    
        public DefaultConflictResolverDetails(Collection<? extends T> participants) {
            this.participants = participants;
        }
    
        @Override
        public Collection<? extends T> getCandidates() {
            return participants;
        }
    
        @Override
        public void select(T candidate) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/AbstractConflictResolverTest.groovy

    import spock.lang.Specification
    
    abstract class AbstractConflictResolverTest extends Specification {
    
        List<ComponentResolutionState> participants = []
        ConflictResolverDetails<ComponentResolutionState> details = new DefaultConflictResolverDetails(participants)
    
        ModuleConflictResolver resolver
        TestComponent root = new TestComponent(DefaultModuleVersionIdentifier.newId('', 'root', ''))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top