-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
47 lines (38 loc) · 976 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
46
47
/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* Learn more about Gradle by exploring our samples at https://docs.gradle.org/6.7/samples
*/
plugins {
id 'java'
id 'application'
}
group 'com.olympics'
version '1.0-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(15)
}
}
application {
mainClass = 'com.olympics.Olympics'
}
run {
standardInput = System.in
}
dependencies {
testCompile 'org.junit.jupiter:junit-jupiter-api:5.7.0'
compileOnly 'org.projectlombok:lombok:1.18.12'
compile 'org.springframework:spring-core:5.2.9.RELEASE'
}
repositories {
maven { url 'https://maven.aliyun.com/repository/google/' }
maven { url 'https://maven.aliyun.com/repository/jcenter/' }
jcenter()
mavenCentral()
}
[javadoc, compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}