From 2aa970a8b0597803921992d869fb3bbae7f595af Mon Sep 17 00:00:00 2001 From: oppofind <836575280@qq.com> Date: Sat, 29 Aug 2020 19:29:58 +0800 Subject: [PATCH] prepare release 1.1.7 --- README.md | 10 ++++++++-- README_CN.md | 6 ++++++ build.gradle | 4 ++-- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0a87c9e..5e0d889 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,11 @@ -

Smart-Doc Gradle Plugin

+

Smart-Doc Gradle Plugin

-[中文文档](https://github.com/smart-doc-group/smart-doc-gradle-plugin/blob/master/README_CN.md) +![maven](https://img.shields.io/maven-central/v/com.github.shalousun/smart-doc-gradle-plugin) +[![License](https://img.shields.io/badge/license-Apache%202-green.svg)](https://www.apache.org/licenses/LICENSE-2.0) +![number of issues closed](https://img.shields.io/github/issues-closed-raw/shalousun/smart-doc-gradle-plugin) +![closed pull requests](https://img.shields.io/github/issues-pr-closed-raw/shalousun/smart-doc-gradle-plugin) +![java version](https://img.shields.io/badge/JAVA-1.8+-green.svg) +[![chinese](https://img.shields.io/badge/chinese-中文文档-brightgreen)](https://github.com/smart-doc-group/smart-doc-gradle-plugin/blob/master/README_CN.md) ## Introduce smart-doc-gradle-plugin is a `gradle` plugin developed by the smart-doc official team. @@ -91,6 +96,7 @@ When you need to use smart-doc to generate more API document information, you ca   "md5EncryptedHtmlName": false, // only used if each controller generates an html file   "projectName": "smart-doc", // Configure your own project name   "skipTransientField": true, // Not currently implemented + "sortByTitle":false,//Sort by interface title, the default value is false "requestFieldToUnderline":true, //convert request field to underline "responseFieldToUnderline":true,//convert response field to underline "inlineEnum":true,// Set to true to display enumeration details in the parameter table diff --git a/README_CN.md b/README_CN.md index b63702b..8acebb4 100644 --- a/README_CN.md +++ b/README_CN.md @@ -1,5 +1,10 @@

Smart-Doc Gradle Plugin

+![maven](https://img.shields.io/maven-central/v/com.github.shalousun/smart-doc-gradle-plugin) +[![License](https://img.shields.io/badge/license-Apache%202-green.svg)](https://www.apache.org/licenses/LICENSE-2.0) +![closed pull requests](https://img.shields.io/github/issues-pr-closed-raw/shalousun/smart-doc-gradle-plugin) +![java version](https://img.shields.io/badge/JAVA-1.8+-green.svg) + ## Introduce smart-doc-gradle-plugin是smart-doc官方团队开发的`gradle`插件,该插件从smart-doc 1.8.6版本开始提供, 使用smart-doc-gradle-plugin更方便用户集成到自己的项目中,集成也更加轻量,你不再需要在项目中编写单元测试来 @@ -79,6 +84,7 @@ subprojects{ "md5EncryptedHtmlName": false,//只有每个controller生成一个html文件是才使用 "projectName": "smart-doc",//配置自己的项目名称 "skipTransientField": true,//目前未实现 + "sortByTitle":false,//接口标题排序,默认为false,@since 1.8.7版本开始 "requestFieldToUnderline":true, //自动将驼峰入参字段在文档中转为下划线格式,//@since smart-doc 1.8.7 版本开始 "responseFieldToUnderline":true,//自动将驼峰入参字段在文档中转为下划线格式,//@since smart-doc 1.8.7 版本开始 "inlineEnum":true,//设置为true会将枚举详情展示到参数表中,默认关闭,//@since smart-doc 1.8.8版本开始 diff --git a/build.gradle b/build.gradle index d6eb236..48292c4 100644 --- a/build.gradle +++ b/build.gradle @@ -15,7 +15,7 @@ plugins { } group 'com.github.shalousun' -version '1.1.5' +version '1.1.7' sourceCompatibility = 1.8 @@ -26,7 +26,7 @@ repositories { dependencies { testCompile group: 'junit', name: 'junit', version: '4.13' - compile 'com.github.shalousun:smart-doc:1.9.2' + compile 'com.github.shalousun:smart-doc:1.9.3' } tasks.withType(JavaCompile) { options.encoding = "UTF-8"