- [chore]: update antlr to 4.13.2 (latest).
- [fix]: add plugins block below imports, if any.
- [feat]: add DependenciesMutator for rewriting dependency strings.
- [feat]: add
isChanged()
to avoid rewriting unchanged files. - [fix]: parameter can be null.
- [fix]: add
@Throws(IllegalStateException::class)
onDependenciesSimplifier
factories. - [fix]: check size before calling
single()
. DeclareIllegalArgumentException
too. - [fix]: be stricter about what is a dependencies block we can parse.
- [fix]: handle project declaration without named arguments.
- [feat]: support parsing more complex dependency declarations.
- [feat]: add
DependenciesSimplifier
recipe.
- [fix]: maintain terminal newline in
CommentsInBlockRemover
.
- [fix]: make
CommentsInBlockRemover
expose found removable comments.
- [feat]: add a utility class to remove comments from a block in a build script.
- [feat]: expose
StatementContext
with parsed dependency declarations
- [feat]: DependencyExtractor includes all statements in DependencyContainer.
- [fix]: handle more kinds of dependency declarations on properties.
- [fix]: handle dependency declarations on properties.
- [feat] support enforcedPlatform as a dependency capability.
- [feat] support parsing
gradleApi()
-like dependency declarations. - [fix] improve error messages during parse errors.
- [feat] improve support for parsing dependencies.
- [feat] smarter indentation detection.
- [feat] simplify terminal newline calculation.
- [fix] fix trailing newline issue for kotlinFile.
- [fix] rename exception to be more generic.
- [feat] add support for terminal new lines in KotlinFileContext.
First OSS release.