-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
44 lines (35 loc) · 872 Bytes
/
build.gradle.kts
File metadata and controls
44 lines (35 loc) · 872 Bytes
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
import org.gradle.plugins.ide.idea.model.IdeaLanguageLevel
plugins {
java
idea
}
allprojects {
apply(plugin = "java")
group = "com.jelipo"
repositories {
mavenLocal()
maven("https://repo.huaweicloud.com/repository/maven/")
mavenCentral()
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
}
tasks {
compileJava { options.encoding = "UTF-8" }
javadoc { options.encoding = "UTF-8" }
}
}
idea {
project {
jdkName = "1.8"
languageLevel = IdeaLanguageLevel("1.8")
targetVersion = "1.8"
targetBytecodeVersion = JavaVersion.VERSION_1_8
vcs = "Git"
}
targetVersion = "1.8"
}