forked from PurpleBananass/Invaders-SDP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
43 lines (37 loc) · 760 Bytes
/
build.gradle
File metadata and controls
43 lines (37 loc) · 760 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
plugins {
id 'java'
id 'com.diffplug.spotless' version '6.25.0'
}
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter:5.11.3'
testImplementation sourceSets.main.output
}
sourceSets {
main {
java {
srcDirs = ['src'] // 기존 src 디렉토리 지정
}
resources {
srcDirs = ['res'] // 기존 resources 디렉토리 지정
}
}
test {
java {
srcDirs = ['test'] // 기존 test 디렉토리 지정
}
}
}
test {
useJUnitPlatform()
maxHeapSize = "1g"
jvmArgs '-XX:MaxMetaspaceSize=512m'
}
spotless {
java {
googleJavaFormat('1.25.0')
endWithNewline()
}
}