Documentation ¶
Index ¶
- type SBTBuilder
- func (builder *SBTBuilder) Analyze(m module.Module, allowUnresolved bool) ([]module.Dependency, error)
- func (builder *SBTBuilder) Build(m module.Module, force bool) error
- func (builder *SBTBuilder) DiscoverModules(dir string) ([]module.Config, error)
- func (builder *SBTBuilder) Initialize() error
- func (builder *SBTBuilder) IsBuilt(m module.Module, allowUnresolved bool) (bool, error)
- func (builder *SBTBuilder) IsModule(target string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SBTBuilder ¶
SBTBuilder implements build context for SBT builds
func (*SBTBuilder) Analyze ¶
func (builder *SBTBuilder) Analyze(m module.Module, allowUnresolved bool) ([]module.Dependency, error)
Analyze parses the output of `sbt -no-colors dependencyTree`
func (*SBTBuilder) Build ¶
func (builder *SBTBuilder) Build(m module.Module, force bool) error
Build runs `sbt compile` and cleans with `sbt clean`
func (*SBTBuilder) DiscoverModules ¶
func (builder *SBTBuilder) DiscoverModules(dir string) ([]module.Config, error)
DiscoverModules returns a root build.sbt if found, and build configs for all sub-projects otherwise
func (*SBTBuilder) Initialize ¶
func (builder *SBTBuilder) Initialize() error
Initialize collects metadata on Java and SBT binaries
Click to show internal directories.
Click to hide internal directories.