ToolConfig
data class ToolConfig(val repositories: List<RepositoryConfig> = emptyList(), val cacheDir: String = "~/.rewriterunner/cache", val parse: ParseConfig = ParseConfig(), val includeMavenCentral: Boolean = true, val downloadThreads: Int = 5, val logger: RunnerLogger = NoOpRunnerLogger)(source)
Top-level tool configuration, typically loaded from rewriterunner.yml.
Supports environment variable interpolation (${VAR_NAME}) and tilde expansion in all string fields. Loaded via ToolConfig.load; programmatic library users may also construct instances directly.
Constructors
Link copied to clipboard
constructor(repositories: List<RepositoryConfig> = emptyList(), cacheDir: String = "~/.rewriterunner/cache", parse: ParseConfig = ParseConfig(), includeMavenCentral: Boolean = true, downloadThreads: Int = 5, logger: RunnerLogger = NoOpRunnerLogger)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
File parsing configuration controlling which extensions and paths are included or excluded from the LST-building stage.
Link copied to clipboard
Additional remote Maven repositories for JAR resolution.
Functions
Link copied to clipboard
Returns cacheDir with ~ expanded to the user home directory and environment variable placeholders replaced. Recipe JARs are cached under the returned path's repository/ subdirectory.
Link copied to clipboard
Returns repositories with all environment variable placeholders expanded.