Watch 1 Star 0 Fork 0

jbooster / jbooster-enumdocs-gradle-pluginGroovyMIT

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
Generate enumdocs with html format. spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

JBooster EnumDocs Gradle Plugin

Introduction

Generate enum docs with html format.

Quick Start

  • 引入插件

    plugins {
        id 'org.jbooster.enumdocs.generator' version '0.0.1'
    }
  • 参数配置

    enumdocs {
        // 标题(必须)
        title = 'Demo'
      
        // 在指定包名下扫描所有标准枚举
        packageName = 'x.y.z'
      
        // 运行结果输出到指定文件,一般为html文件
        output = "$projectDir/src/main/resources/static/index.html"
    }
  • 执行task

    gradle enumdocs

Comments ( 0 )

You need to Sign in for post a comment

Groovy
1
https://gitee.com/jbooster/jbooster-enumdocs-gradle-plugin.git
git@gitee.com:jbooster/jbooster-enumdocs-gradle-plugin.git

Help Search