Invalid use of SBuild API.
The execution of an target, which was defined in the project file, failed.
An HTTP-Scheme handler, that will download the given URI into a directory preserving the URI as path.
Invalid use of SBuild API.
An invalid commandline was given.
A MapperSchemeHandler will maintain an mapping from on scheme to another scheme.
An required but not-configured property was accessed.
A SchemeHandler able to download Maven artifacts from a set of Maven repositories.
An implementation of this trait act as a plugin activator.
Plugins that will be notified whenever they get (re-)configured.
Plugins that depend on other plugins need to implement this trait.
A error was detected while parsing and/or initializing the project.
Common superclass for specific SBuild exceptions.
Scans a directory for files, recursiv.
Translates a target name into another target name
A SchemeHandler, that also resolves the representing target with a built-in target scheme.
An internal marker interface.
While a target is executed, this trait can be used to get relevant information about the current target execution and interact with the executor.
An unknown target was requested (on command line or as a dependency).
An internal marker interface.
An unsupported scheme was used in a target or dependency.
The SchemeHandler to extract resources from a ZIP resource.
Add additional classpath elements (jars, dirs) to the compile and execution environment of the current build file.
Include one ore more Scala files to access them from the current project.
Version identifier for bundles and packages.
(Since version 0.7.1.9000) Use de.tototec.sbuild.internal.ProjectTarget instead.
(Since version 0.9.1.9000) No longer in use.
Export dependencies to be consumed by other tools, e.
Path can be used to produce absolute File instances which are relative to the current SBuild project directory or the directory containing an included and explicit requested project resource.
This object contains useful apply
method to activate and access plugin instances.
Register a SchemeHandler under a scheme qualifier into the current project.
(Since version 0.6.0.9002) Use internal.OSGiVersion instead
(Since version 0.4.0.9002) Use Paths instead.
EXPERIMENTAL API - Resolve TargetRefs.
This is not public API of SBuild.
SBuild API Reference
This package contains SBuild core classes and public API.
Project Homepage: http://sbuild.org
SBuild is released under the Apache License, Version 2.0.
SBuild API to be used in SBuild build scripts
The following classes form SBUild's public API:
@classpath
ExportDependencies
@include
Logger
Module
Modules
Path
Plugin
Prop
SchemeHandler
SchemeResolver
SchemeResolverWithDependencies
SetProp
Target
TargetContext
TargetRef
TargetRefs
@version
The following classes are currently experimental or not part of the public API:
ResolveFiles
ResolveResult
ServiceRegistry
Classes and objects, not listed above are candidates to change in succeeding releases. You are encouraged, to use only the API form above in your build scripts.
Default Scheme Handlers
The following list of
SchemeHandler
implementations are registered by-default with their default configuration in each SBuild project. To register or overwrite a scheme handler in your project, you should useSchemeHandler(scheme, handler)
.HttpSchemeHandler
MvnSchemeHandler
ZipSchemeHandler
ScanSchemeHandler