-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (39 loc) · 1.21 KB
/
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
48
plugins {
id 'java'
}
group 'mech.mania'
version ''
repositories {
mavenCentral()
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
dependencies {
implementation 'org.junit.jupiter:junit-jupiter:5.7.0'
implementation 'org.apache.logging.log4j:log4j-core:2.19.0'
implementation 'org.apache.logging.log4j:log4j-api:2.19.0'
implementation 'log4j:log4j:1.2.17'
implementation 'me.tongfei:progressbar:0.9.4'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.8.8'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.8.8'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.8.8'
}
test {
useJUnitPlatform()
}
jar {
manifest {
attributes(
'Main-Class': 'mech.mania.engine.GameEngine'
)
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
archivesBaseName = 'Engine'
}