2.0.0
What's new
- #143 : You can now change the name for assertion by setting
ext.moduleNameAssertAlias = "ModuleNameAlias"
at any module. This can be useful to use module types to enforce following structure:
` - #142: Configuration cache and task avoidance supported resolving #38 and #120
allowed
syntax is now stable. See #129 for details- #136 Kotlin 1.6.0 used.
Migration from version 1.X - breaking changes
are now removed in favour ofmoduleLayers
allowed
syntax.- Example of migration:
moduleLayers = [":feature:\\S*", ":lib\\S*", ":core\\S*"]
->allowed = [":feature:\\S* -> :lib\\S*", ":feature:\\S* -> :core\\S*", :lib\\S* -> :core\\S*"]
- Example of migration:
assertModuleLayers
task doesn't exist anymore - useassertAllowedModuleDependencies
task andallowed
syntax instead.- Parameter
modules.graph.print.statistics
is removed - use taskgenerateModulesGraphStatistics
instead.
plugins {
id "com.jraska.module.graph.assertion" version "2.0.0"
}