forked from starcwang/easy_javadoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
113 lines (107 loc) · 2.91 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
plugins {
id 'java'
id 'org.jetbrains.intellij' version '0.4.14'
}
group 'com.star.easydoc'
version '1.17'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.10.1'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.10.1'
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
// plugins 'java'
version '2018.1'
pluginName 'Easy Javadoc'
updateSinceUntilBuild false
}
patchPluginXml {
changeNotes """
This plugin can help you complete the Chinese javadoc document quickly.<br>
Support three type of javadoc: field, method and class.<br>
<h3>v1.17 update</h3>
<ul>
<li>support custom template</li>
</ul>
<h3>v1.16 update</h3>
<ul>
<li>@throws tag bug fix</li>
</ul>
<h3>v1.15 update</h3>
<ul>
<li>fix some bugs</li>
</ul>
<h3>v1.13 update</h3>
<ul>
<li>support baidu translator and tencent translator</li>
<li>add cache for translator</li>
</ul>
<h3>v1.12 update</h3>
<ul>
<li>fix some bugs</li>
</ul>
<h3>v1.11 update</h3>
<ul>
<li>fix some bugs</li>
</ul>
<h3>v1.10 update</h3>
<ul>
<li>support auto translate</li>
<li>fix some bugs</li>
</ul>
<h3>v1.9 update</h3>
<ul>
<li>fix some bugs</li>
</ul>
<h3>v1.8 update</h3>
<ul>
<li>support import and export</li>
<li>support more IDEA versions</li>
</ul>
<h3>v1.7 update</h3>
<ul>
<li>fix some bugs</li>
</ul>
<h3>v1.6 update</h3>
<ul>
<li>support custom template</li>
<li>support translate Chinese to English</li>
<li>fix some bugs</li>
</ul>
<h3>v1.5 update</h3>
<ul>
<li>support more idea versions</li>
<li>fix some bugs</li>
</ul>
<h3>v1.4 update</h3>
<ul>
<li>support for incremental updates</li>
<li>support whole sentences translation</li>
<li>add @throws label for the method javadoc</li>
<li>fix some bugs</li>
</ul>
<h3>v1.3 update</h3>
<ul>
<li>support bulk insert javadoc</li>
<li>fix some bugs</li>
</ul>
<h3>v1.1 update</h3>
<ul>
<li>add @link label in @return doc of the method javadoc</li>
<li>fix some bugs</li>
</ul>
<h3>v1.0 first version</h3>
<ul>
<li>support class, method and field javadoc</li>
</ul>
<a href="https://github.com/starcwang/easy_javadoc">easy_javadoc source code and document</a><br>
"""
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}