Files
show-comment/build.gradle

94 lines
3.4 KiB
Groovy
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
plugins {
id 'org.jetbrains.intellij' version '1.3.1'
id 'java'
}
group 'io.github.linwancen'
version '1.19.0.' + (new Date().format('yyyy.MM.dd_HH.mm'))
apply plugin: 'java'
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version = ideaVersion
plugins = ['java']
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
tasks.withType(Javadoc) {
options.encoding = 'UTF-8'
}
patchPluginXml {
// The performance of 2019.3 has been greatly improved.
// change plugins without restarting the IDE in 2020.1.
sinceBuild = '201.1'
untilBuild = ''
changeNotes = """
<h2>English Change Notes:</h2>
<ul>
<li>1.19 Add supper doc at @Override, support doc tag like @author
<li>1.18 Add External Comment effect at previous layer when folder named -1
<li>1.17 Add line-end-comment skip doc text or class/member name by regexp
<li>1.16 Add line-end-comment skip when comments have been added
<li>1.15 Add line-end-comment support COBOL ext '', 'cbl', 'cob', 'cobol'
<li>1.14 Add line-end-comment skip Annotation, skip only English (ASCII)
<li>1.13 Add Copy With Line Comment & Add Line Comment
<li>1.12 ★ External Comment for COBOL etc
<li>1.11 Add json key jump to field
<li>1.10 Add project-view-tree-comment for package from parent or other project
<li>1.9 Add project-view-tree-comment for "xx ClassNameOrSimpleName.json" and SPI file
<li>1.8 ★ line-end-comment for "xx ClassNameOrSimpleName.json"
<li>1.7 Add line-end-comment setting for prefix and count
<li>1.6 Add line-end-comment independent switch for call, new, ref
<li>1.5 Add line-end-comment find next loop when none
<li>1.4 Add line-end-comment find element right to left
<li>1.3 ★ project-view-tree-comment
<li>1.2 Add line-end-comment settings fro class prefix filter
<li>1.1 Add line-end-comment settings for text color
</ul>
<h2>中文更新说明:</h2>
<ul>
<li>1.19 增加 @Override 显示父方法注释,支持 @author 等注释标签
<li>1.18 增加 外部注释 文件夹名为 -1 时配置在上一层文件夹生效
<li>1.17 增加 行末注释 根据正则表达式跳过指定注释文本或类成员名字的注释
<li>1.16 增加 行末注释 已经添加行末注释时跳过
<li>1.15 增加 行末注释 COBOL 拓展名支持 无拓展名、cbl、cob、cobol
<li>1.14 增加 行末注释 忽略注解 与 忽略纯英文
<li>1.13 增加 带行末注释复制 和 添加行末注释
<li>1.12 ★ 外部注释用于 COBOL 等
<li>1.11 增加 json 跳转到字段
<li>1.10 增加 在父包和其他项目的包中获取 项目导航栏注释
<li>1.9 增加 "xx 类全名或简名.json" 和 SPI 项目导航栏注释
<li>1.8 ★ "xx 类全名或简名.json" 行末注释
<li>1.7 增加 行末注释前缀和对象数设置
<li>1.6 增加 行末调用new引用注释独立开关
<li>1.5 增加 没有注释时循环查找下一个对象
<li>1.4 增加 从右往左查找行末注释对象
<li>1.3 ★ 项目导航栏注释
<li>1.2 增加 行末注释类前缀配置
<li>1.1 增加 行末文本颜色配置
</ul>
"""
}
test {
useJUnitPlatform()
}
publishPlugin {
token = System.getenv("PUBLISH_TOKEN")
}