jb
library
Functions
-
computeAllChanges(ChangeSet? changeSet, File srcFileTree)
→ Future<TransitiveChanges?>
-
-
copyDartleOptions(Options options, List<String> tasksInvocation)
→ Options
-
-
createArtifact(JbConfiguration config)
→ Result<Artifact>
-
-
createCompileTask(JbFiles jbFiles, JbConfigContainer config, DartleCache cache, JBuildSender jBuildSender)
→ Task
-
Create the
compile
task.
-
createDepsTask(File jbuildJar, JbConfiguration config, DartleCache cache, LocalDependencies localDependencies, LocalDependencies localProcessorDeps)
→ Task
-
Create the
dependencies
task.
-
createDownloadTestRunnerTask(JbConfiguration config, JBuildSender jBuildSender, DartleCache cache, FileCollection jbFileInputs)
→ Task
-
Create the
downloadTestRunner
task.
-
createEclipseTask(JbConfiguration config)
→ Task
-
Create the eclipse task.
-
createGeneratePomTask(Result<Artifact> artifact, Iterable<MapEntry<String, DependencySpec>> dependencies, ResolvedLocalDependencies localDependencies)
→ Task
-
Create the generatePom task.
-
createIfNeededAndGetJBuildJarFile()
→ Future<File>
-
-
createInstallCompileDepsTask(JbFiles files, JbConfiguration config, JBuildSender jBuildSender, DartleCache cache, ResolvedLocalDependencies localDependencies)
→ Task
-
Create the
installCompileDependencies
task.
-
createInstallProcessorDepsTask(JbFiles files, JbConfiguration config, JBuildSender jBuildSender, DartleCache cache, ResolvedLocalDependencies localDependencies)
→ Task
-
Create the
installProcessorDependencies
task.
-
createInstallRuntimeDepsTask(JbFiles files, JbConfiguration config, JBuildSender jBuildSender, DartleCache cache, ResolvedLocalDependencies localDependencies)
→ Task
-
Create the
installRuntimeDependencies
task.
-
createNewProject(List<String> arguments)
→ Future<void>
-
Create a new jb project.
-
createPom(Artifact artifact, Iterable<MapEntry<String, DependencySpec>> dependencies, ResolvedLocalDependencies localDependencies)
→ String
-
Create a Maven POM for publishing purposes.
-
createPublicationCompileTask(JbFiles jbFiles, JbConfigContainer config, DartleCache cache, JBuildSender jBuildSender)
→ Task
-
Create the publicationCompile task.
-
createPublishTask(Result<Artifact> artifact, Iterable<MapEntry<String, DependencySpec>> dependencies, String? outputJar, ResolvedLocalDependencies localDependencies)
→ Task
-
Create the publish task.
-
createRequirementsTask(File jbuildJar, JbConfigContainer config)
→ Task
-
Create the
requirements
task.
-
createRunTask(JbFiles files, JbConfigContainer config, DartleCache cache)
→ Task
-
Create the
run
task.
-
createShowConfigTask(JbConfiguration config, bool noColor)
→ Task
-
-
createTestTask(File jbuildJar, JbConfigContainer config, DartleCache cache, bool noColor)
→ Task
-
Create the
test
task.
-
createUpdateJBuildTask(JBuildSender jBuildSender)
→ Task
-
-
createWriteDependenciesTask(JbFiles jbFiles, JbConfiguration config, DartleCache cache, FileCollection jbFileInputs, LocalDependencies localDependencies, LocalDependencies localProcessorDeps)
→ Task
-
Create the
writeDependencies
task.
-
execJava(String taskName, List<String> args, {ProcessOutputConsumer? onStdout, ProcessOutputConsumer? onStderr, Map<String, String> env = const {}})
→ Future<int>
-
Execute a java process.
-
execJBuild(String taskName, File jbuildJar, List<String> preArgs, String command, List<String> commandArgs, {ProcessOutputConsumer? onStdout, ProcessOutputConsumer? onStderr, Map<String, String> env = const {}})
→ Future<int>
-
Execute the jbuild tool.
-
findJUnitSpec(Iterable<MapEntry<String, DependencySpec>> dependencies)
→ JUnit?
-
Find JUnit information from a jb project dependencies, if available.
-
jbuildCliHome()
→ String
-
Find the
jb
home directory.
-
jbuildJarPath()
→ String
-
The
jbuild.jar
path. This jar is created, if necessary, from the
embedded jar in jb
, but may be updated.
-
junitConsoleLib(String version)
→ String
-
Dependency coordinates for the JUnit ConsoleLauncher.
-
loadConfig(File configFile)
→ Future<JbConfiguration>
-
Parse the YAML/JSON jbuild file.
-
loadConfigString(String config)
→ Future<JbConfiguration>
-
Parse the YAML/JSON jb configuration.
-
loadExtensionTaskConfigs(JbConfiguration jbConfig, String config, Uri yamlUri)
→ Future<List<ExtensionTaskConfig>>
-
Parse the YAML/JSON jb extension model.
-
loadFileTree(Stream<String> requirements)
→ Future<FileTree>
-
-
loadFileTreeFrom(File file)
→ Future<FileTree>
-
-
printDependencies(File jbuildJar, JbConfiguration config, DartleCache cache, LocalDependencies localDependencies, LocalDependencies localProcessorDependencies, List<String> args)
→ Future<int>
-
-
runJb(JbCliOptions jbOptions, Options dartleOptions, Stopwatch stopwatch, [ConfigSource? configSource])
→ Future<bool>
-
Run jb.
-
storeNewFileTree(String taskName, JbConfiguration config, JBuildSender jBuildSender, String buildOutput, File fileTreeFile)
→ Future<void>
-
-
writeDependencies({required File depsFile, required LocalDependencies localDeps, required LocalDependencies localProcessorDeps, required Iterable<MapEntry<String, DependencySpec>> deps, required Set<String> exclusions, required File processorDepsFile, required Iterable<MapEntry<String, DependencySpec>> processorDeps, required Set<String> processorsExclusions})
→ Future<void>
-
Typedefs
-
Artifact
= ({String? description, List<Developer> developers, String group, List<License> licenses, String module, String name, SourceControlManagement? scm, String? url, String version})
-
Maven artifact.
-
ExtensionTaskConfig
= ({String className, List<JavaConstructor> constructors, String description, String methodName, String name, TaskPhase phase})
-
Basic definitions of a jb extension task configuration.
-
JavaConstructor
= Map<String, ConfigType>
-
Java constructor representation.
-
NullableInt
= int?
-