-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
44 lines (35 loc) · 946 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
apply plugin: 'groovy'
apply plugin: 'application'
ext {
java_sdk_version = '11'
groovy_sdk_version = '4.0.2'
slf4j_version = '2.0.4'
logback_version = '1.4.6'
spock_version = '2.3-groovy-4.0'
}
repositories {
mavenCentral()
}
java {
sourceCompatibility = "${java_sdk_version}"
targetCompatibility = "${java_sdk_version}"
}
dependencies {
implementation platform("org.apache.groovy:groovy-bom:${groovy_sdk_version}")
implementation 'org.apache.groovy:groovy'
implementation "org.slf4j:slf4j-api:${slf4j_version}"
testImplementation platform("org.spockframework:spock-bom:${spock_version}")
testImplementation 'org.spockframework:spock-core'
runtimeOnly "ch.qos.logback:logback-classic:${logback_version}"
}
application {
mainClass = 'io.gfrank.pacman.Game'
}
jar {
manifest {
attributes("Main-Class": "io.gfrank.pacman.Game")
}
}
test {
useJUnitPlatform()
}