-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
52 lines (42 loc) · 1.14 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
plugins {
id 'java'
id 'org.jetbrains.intellij' version '1.13.3'
}
group 'indi.bookmarkx'
version '2.2.0'
repositories {
mavenLocal()
maven { url 'https://maven.aliyun.com/repository/public/' }
maven { url 'https://maven.aliyun.com/repository/spring/' }
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
// https://mvnrepository.com/artifact/org.mockito/mockito-all
testImplementation 'org.mockito:mockito-all:1.10.19'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version = '2021.2.2'
}
patchPluginXml {
sinceBuild = '210.0'
untilBuild = "242.*"
changeNotes = "1. 添加行首标签显示"
}
tasks.named('initializeIntelliJPlugin') {
enabled = false
}
// 禁止过期方法的校验
tasks.withType(JavaCompile).configureEach {
options.compilerArgs << '-Xlint:-deprecation'
}
test {
useJUnitPlatform()
}
runIde {
// jvmArgs = ['-Duser.language=en', '-Duser.country=US']
// 国际化测试
jvmArgs = ['-Duser.language=ja', '-Duser.country=JP']
}