-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (42 loc) · 1.08 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
plugins {
id 'java'
id 'org.jetbrains.intellij' version '0.4.26'
}
group 'cn.easyjce.plugin'
version '1.0-RELEASE'
//编码
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
compileJava.options.encoding = "UTF-8"
compileTestJava.options.encoding = "UTF-8"
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
// lombok 支持
//compileOnly 'org.projectlombok:lombok:1.18.2'
//annotationProcessor 'org.projectlombok:lombok:1.18.2'
//testAnnotationProcessor 'org.projectlombok:lombok:1.18.2'
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
//插件名称
pluginName 'JcePlugin'
//默认在build文件下面
sandboxDirectory = "${rootProject.buildDir}/idea-sandbox"
version '2020.1.2'
// 社区版
//type 'IC'
// 企业版
type 'IU'
// 依赖的插件
plugins = ['java']
}
patchPluginXml {
//最低支持的版本
sinceBuild '201'
//最高支持的版本
untilBuild ''
changeNotes ""
}