Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TaskConfigurationException (0.36 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/commandline/TaskConfigurationException.java

    import static org.gradle.internal.logging.text.StyledTextOutput.Style.UserInput;
    
    @Contextual
    public class TaskConfigurationException extends GradleException implements FailureResolutionAware {
    
        private final String taskPath;
    
        public TaskConfigurationException(String taskPath, String message, Exception cause) {
            super(message, cause);
            this.taskPath = taskPath;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 28 05:00:22 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/execution/commandline/CommandLineTaskConfigurerSpec.groovy

            then:
            def ex = thrown(TaskConfigurationException)
            ex.cause.message.contains('someFlag')
        }
    
        def "fails if one of the options cannot be applied to one of the tasks"() {
            when:
            configurer.configureTasks([task, otherTask], input)
    
            then:
            def ex = thrown(TaskConfigurationException)
            ex.cause.message.contains('someFlag2')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 09 09:06:36 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/execution/commandline/CommandLineTaskConfigurer.java

                    parsed = parser.parse(arguments);
                } catch (CommandLineArgumentException e) {
                    //we expect that all options must be applicable for each task
                    throw new TaskConfigurationException(task.getPath(), "Problem configuring task " + task.getPath() + " from command line.", e);
                }
    
                for (OptionDescriptor commandLineOptionDescriptor : commandLineOptions) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.execution.commandline.TaskConfigurationException> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (TaskConfigurationException.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top