net.bonzani.clean-architecture
Owner: Patrizio Bonzani
Validates that architectural layer dependencies are followed.
https://www.bonzani.net/software_architecture/gradle/
Sources: https://gitlab.com/bonzani/gradle-clean-architecture.git
Version 1.0.2 (latest)
Created 01 April 2024.
Validates that architectural layer dependencies are followed.
Add this plugin to your build using the plugins DSL:
plugins {
id("net.bonzani.clean-architecture") version "1.0.2"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("net.bonzani.clean-architecture:net.bonzani.clean-architecture.gradle.plugin:1.0.2") }
It can then be applied in the precompiled script plugin:plugins { id("net.bonzani.clean-architecture") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("net.bonzani.clean-architecture:net.bonzani.clean-architecture.gradle.plugin:1.0.2") } } apply(plugin = "net.bonzani.clean-architecture")
- Applying plugins to all subprojects .