forked from mars05/crud-intellij-plugin
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
97 lines (89 loc) · 2.62 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
plugins {
id 'org.jetbrains.intellij' version '0.4.15'
}
Properties properties = new Properties()
properties.load project.rootProject.file('local.properties').newDataInputStream()
def IJ_REPO_TOKEN = properties.getProperty("IJ_REPO_TOKEN")
group 'com.github.mars05'
version pluginVersion
apply plugin: 'java'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile group: 'org.apache.maven', name: 'maven-model', version: '3.6.0'
compile group: 'mysql', name: 'mysql-connector-java', version: '5.1.47'
compile group: 'org.projectlombok', name: 'lombok', version: '1.18.6'
compile group: 'com.alibaba', name: 'fastjson', version: '1.2.45'
compile group: 'org.freemarker', name: 'freemarker', version: '2.3.28'
compile group: 'com.baomidou', name: 'mybatis-plus-generator', version: '3.1.2'
compile group: 'org.springframework.boot', name: 'spring-boot-starter', version: '2.1.7.RELEASE'
compileOnly fileTree(dir: 'lib', include: ['*.jar'])
}
intellij {
version ideaVersion
intellij.updateSinceUntilBuild false
sandboxDirectory = "${rootProject.projectDir}/idea-sandbox/idea-${ideaVersion}"
plugins 'maven'
}
publishPlugin {
token IJ_REPO_TOKEN
}
patchPluginXml {
changeNotes """
<div>
<p>1.4.0</p>
<ul>
<li>feature:右键生成时可选择生成Controller/Service/Mapper/Modal等内容</li>
<li>style:优化了组件展示效果</li>
</ul>
<p>1.3.1</p>
<ul>
<li>bugfix:修复生成项目没有application-{env}.yml报错的问题</li>
</ul>
<p>1.3.0</p>
<ul>
<li>feature:增加路径记忆功能,右键生成选择的路径将会在下次生成时自动填充</li>
</ul>
<p>1.2.0</p>
<ul>
<li>fix 1.1.0 使用原作者的方案选择package</li>
<li>feature:增加google-jib作为docker打包的原则</li>
<li>style:优化部分代码</li>
</ul>
<p>1.1.1</p>
<ul>
<li>fixbug 右键生成无法自动生成lombok和自动填充修改时间的bug</li>
<li>升级基础包版本</li>
</ul>
<p>1.1.0</p>
<ul>
<li>remove plugin.properties</li>
<li>support reader pom.xml</li>
</ul>
<p>1.0.3</p>
<ul>
<li>support Dockerfile</li>
</ul>
<p>1.0.2</p>
<ul>
<li>support Mybatis-Plus</li>
</ul>
<p>1.0.1</p>
<ul>
<li>Changed some plugin information</li>
</ul>
<p>1.0.0 </p>
<ul>
<li>Initial release</li>
</ul>
</div>
"""
}