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
allowedsyntax 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 ofmoduleLayersallowedsyntax.- 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:
assertModuleLayerstask doesn't exist anymore - useassertAllowedModuleDependenciestask andallowedsyntax instead.- Parameter
modules.graph.print.statisticsis removed - use taskgenerateModulesGraphStatisticsinstead.
plugins {
id "com.jraska.module.graph.assertion" version "2.0.0"
}