Skip to content

2.0.0

Compare
Choose a tag to compare
@jraska jraska released this 23 Nov 20:36
· 103 commits to master since this release
005efba

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

  • moduleLayers are now removed in favour of 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*"]
  • assertModuleLayers task doesn't exist anymore - use assertAllowedModuleDependencies task and allowed syntax instead.
  • Parameter modules.graph.print.statistics is removed - use task generateModulesGraphStatistics instead.
plugins {
  id "com.jraska.module.graph.assertion" version "2.0.0"
}