Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 293 for Solution (0.11 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/internal/DefaultProblemsOperationContext.java

            @Nullable Details details,
            List<Location> locations,
            List<Solution> solutions,
            AdditionalData additionalData,
            @Nullable FailureContainer failure
        ) {
            this.details = details;
            this.locations = locations;
            this.solutions = solutions;
            this.additionalData = additionalData;
            this.failure = failure;
        }
    
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 12:26:28 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/VisualStudioSolution.java

    /**
     * A visual studio solution, representing one or more native binaries in a build.
     * <p>
     *
     * The content and location of the generate solution file can be modified by the supplied methods:
     *
     * <pre class='autoTested'>
     *  plugins {
     *      id 'visual-studio'
     *  }
     *
     *  model {
     *      visualStudio {
     *          solution {
     *              solutionFile.location = "vs/${name}.sln"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/visual-studio/groovy/build.gradle

                            .appendNode('ProjectDetails', "Project is named ${project.name}")
                }
            }
        }
    }
    // end::customize-project-files[]
    // tag::customize-solution-files[]
    model {
        visualStudio {
            solution { solution ->
                solutionFile.withContent { content ->
                    def sourceControlSection = """
        GlobalSection(SolutionNotes) = postSolution
            NumNotes = 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. platforms/ide/problems-api/src/integTest/groovy/org/gradle/api/problems/ProblemsServiceIntegrationTest.groovy

        }
    
        def "can emit a problem with a solution"() {
            given:
            withReportProblemTask """
                problems.forNamespace('org.example.plugin').reporting {
                    it.id('type', 'label')
                    .solution("solution")
                }
            """
    
            when:
            run('reportProblem')
    
            then:
            receivedProblem.solutions == ['solution']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/UnknownImplementationSnapshot.java

            private final String descriptionTemplate;
            private final String reason;
            private final String solution;
    
            UnknownReason(String descriptionTemplate, String reason, String solution) {
                this.descriptionTemplate = descriptionTemplate;
                this.reason = reason;
                this.solution = solution;
            }
        }
    
        private final UnknownReason unknownReason;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/internal/DefaultVisualStudioRootExtension.java

            this.solution = objectFactory.newInstance(DefaultVisualStudioSolution.class, projectName);
        }
    
        @Override
        public VisualStudioSolution getSolution() {
            return solution;
        }
    
        @Override
        public void solution(Action<? super VisualStudioSolution> configAction) {
            configAction.execute(solution);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. platforms/ide/problems-api/src/test/groovy/org/gradle/api/problems/internal/DefaultProblemTest.groovy

            def problem = createTestProblem(Severity.WARNING)
            def builder = problem.toBuilder()
            def newProblem = builder
                .solution("solution")
                .build()
            def operationId = new OperationIdentifier(1000L)
    
            when:
            problemReporter.report(newProblem, operationId)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 08:30:15 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

    Type 'Whatever' property 'prop' has conflicting type annotations declared: @Input, @Output.
    
    Reason: The different annotations have different semantics and Gradle cannot determine which one to pick.
    
    Possible solution: Choose between one of the conflicting annotations.
    
    ${validationMessage("conflicting_annotations")}
    """
        }
    
        def "tests output of annotationInvalidInContext"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/ide/visualStudio/kotlin/build.gradle.kts

    // tag::apply-plugin[]
    plugins {
        `visual-studio`
    }
    // end::apply-plugin[]
    
    // tag::configure-solution-location[]
    visualStudio {
        solution {
            solutionFile.setLocation(file("solution.sln"))
        }
    }
    // end::configure-solution-location[]
    
    // tag::configure-project-and-filters-location[]
    visualStudio {
        projects.all {
            projectFile.setLocation(file("project.vcxproj"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 510 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/ide/problems-api-usage/groovy/reporters/script-plugin/src/main/groovy/reporters.script.plugin.gradle

    problems.forNamespace('buildscript').reporting {
        it.id('adhoc-script-deprecation', 'Deprecated script plugin')
            .contextualLabel("Deprecated script plugin 'demo-script-plugin'")
            .severity(Severity.WARNING)
            .solution("Please use 'standard-plugin-2' instead of this plugin")
    }
    
    tasks.register('warningTask') {
        doLast {
            problems.forNamespace('buildscript').reporting {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top