createJshellTask function
Task
createJshellTask(
- JbDartle jbDartle,
- JbFiles jbFiles,
- JbConfigContainer config,
- JbActors actors,
- Options options,
- DartleCache cache,
Create the jshell task.
Implementation
Task createJshellTask(
JbDartle jbDartle,
JbFiles jbFiles,
JbConfigContainer config,
JbActors actors,
Options options,
DartleCache cache,
) {
return Task(
(List<String> args) => jshell(jbDartle, options, config, args, cache),
dependsOn: const {compileTaskName, installRuntimeDepsTaskName},
name: jshellTaskName,
description: jshellHelp,
phase: evaluatePhase,
);
}