-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy pathbuild.gradle
63 lines (57 loc) · 1.59 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
buildscript {
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
mavenLocal()
mavenCentral()
}
}
plugins {
id "org.jetbrains.intellij" version "0.4.15"
}
group = 'cn.wuzhizhan.idea.mybatis'
version = '2020.12.09'
apply plugin: 'java'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile fileTree(dir: 'lib', includes: ['*jar'])
compile group: 'com.softwareloop', name: 'mybatis-generator-lombok-plugin', version: '1.0'
compile group: 'uk.com.robust-it', name: 'cloning', version: '1.9.2'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
buildPlugin {
buildSearchableOptions.enabled = false
}
intellij {
version "2020.2.4"
type "IU"
pluginName = 'free-mybatis-plugin'
plugins = ['coverage', 'Spring', 'DatabaseTools', 'java']
intellij.updateSinceUntilBuild false
}
patchPluginXml {
changeNotes """
<h4>2020.12.09</h4>
<ul>
<li>修改过期的方法</li>
<li>修正笔误</li>
</ul>
<h4>2020.12.08</h4>
<ul>
<li>修复新版API不兼容问题</li>
</ul>
<h4>2019.12.18</h4>
<ul>
<li>feature:移除jdbc依赖,不用再次输入密码</li>
<li>bugfix:修复返回类型检测错误</li>
<li>bugfix:mybatis generator修复oracle错误</li>
<li>bugfix:mybatis generator修复postgres数据库</li>
<li>bugfix:mybatis generator修复xml mapper重复创建</li>
</ul>
"""
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}