Hi,

one thing that is missing task selector implementation in toolingApi for
1.12 is the ability to run build and tell it to build selectors from
different projects. Here is my idea how to fix this:

add StartParameter.{get|set}TaskParameters() where TaskParameter has same
methods as existing LaunchableImplementation:

@Incubating interface TaskParameter {
  String getTaskName();
  @Nullable String getProjectPath();
}

Then I can add another BuildConfigurationAction to expand these objects
into list of tasks using existing o.g.execution.TaskSelector.

Also I will be able to get rid of StartParameter.projectPath property that
is used now by current selector build.

I am not sure about adding org.gradle.TaskParameter but I need to expose it
somewhere if it becomes used by StartParameter. Also perhaps
LaunchableParameter is better name. Is that OK or should I look for a
different solution?

-Radim

Reply via email to