-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
45 lines (37 loc) · 906 Bytes
/
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
plugins {
id 'java'
id 'org.jetbrains.intellij' version '1.1'
}
group 'com.maple'
version '1.0.5-SNAPSHOT'
// jvm版本号
java {
sourceCompatibility = JavaVersion.VERSION_1_8
}
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
// implementation 'com.alibaba:fastjson:1.2.83'
compileOnly 'com.google.code.gson:gson:2.8.6'
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
// idea版本号
intellij {
version = '2020.3.4'
// plugins.set(listOf("java"))
plugins = ['java']
}
patchPluginXml {
sinceBuild.set("203")
untilBuild.set("223.*")
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
test {
useJUnitPlatform()
}
repositories { maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } }