-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
72 lines (59 loc) · 1.86 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
// gradle core plugin
plugins {
id 'java'
id 'org.jetbrains.intellij' version '1.4.0'
}
group 'org.tzraeq'
version '1.0.2'
apply plugin: 'java'
repositories {
// mavenCentral()
maven { url 'http://maven.aliyun.com/repository/public'}
}
dependencies {
implementation platform('com.fasterxml.jackson:jackson-bom:2.10.5')
implementation 'com.fasterxml.jackson.core:jackson-databind'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml'
// lombok
compileOnly 'org.projectlombok:lombok:1.18.20'
annotationProcessor 'org.projectlombok:lombok:1.18.20'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version = '2019.2'
// version = '2019.2.1'
// version = '2019.3.1'
// version = '2020.3.1'
plugins = ['java', 'yaml']
updateSinceUntilBuild = false
}
patchPluginXml {
changeNotes = """
<h3>v1.0.2</h3>
<ol>
<li>Erase the ide error log when you open the class selection dialog and close it directly.</li>
<li>Fix empty fields after selecting a non-javabean class.</li>
</ol>
<h3>v1.0.1</h3>
<ol>
<li>Fix the errors happend during the index refreshing.</li>
</ol>
<h3>v1.0.0</h3>
<ol>
<li>We can combine other bean's fields into this bean through tool window now.</li>
<li>The combine actions will be saved into the config files for every modules in the module root dirs, you also can commit it to vcs as a dev resource.</li>
</ol>
"""
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
test {
useJUnitPlatform()
}
apply from: "${rootDir}/publish.gradle"
runIde {
jvmArgs '--add-exports', 'java.base/jdk.internal.vm=ALL-UNNAMED'
}