Gradle plugin for module and module tree information
gradle-module-plugin
Gradle plugin for module meta-data.
Steps to build the gradle plugin:
- clone the git repo.
- set the Java version to 17 in your IDE
- execute gradle build
Steps to use the plugin:
- include gradle plugin
id = "gradle.module.plugin.module-info"
implementationClass = "gradle.module.plugin.GradleModulePlugin"
id = "gradle.module.plugin.module-tree"
implementationClass = "gradle.module.plugin.GradleModuleTreePlugin"
Output
module-info output
[MODULE]
name: root project 'junit82316567502977769'
artifactId: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@167103cb
groupId:
version: unspecified
Parent: null
dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@33c7945b
modules: {}
plugins: [org.gradle.api.plugins.HelpTasksPlugin@1b2cf40f, org.gradle.buildinit.plugins.BuildInitPlugin@3aa4b3c2, org.gradle.buildinit.plugins.WrapperPlugin@30d0d454, gradle.module.plugin.GradleModulePlugin@3f3aeb59]
module-tree output
------------------------------------------------------------------------
|-name: root project 'junit16859174016170123017':org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@1af35a99@unspecified
[MODULE]
kotlin.Unit
License
MIT
Contributions:
- Fork the repo and create a pull request.
- Once approved and reviewed the PR will be merged.
- Feedback and input as issues or enhancements are always welcome