-
Notifications
You must be signed in to change notification settings - Fork 18
/
build.gradle
36 lines (29 loc) · 855 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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'
version = '0.8'
mainClassName = "de.thomas.creatures.implementation.CreaturesMain"
repositories {
mavenCentral()
}
dependencies {
implementation group: 'org.jfree', name: 'jcommon', version: '1.0.24'
implementation group: 'org.jfree', name: 'jfreechart', version: '1.5.4'
implementation 'commons-io:commons-io:2.11.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.2'
}
application {
mainClassName = mainClassName
}
test {
useJUnitPlatform()
}
jar {
manifest {
attributes 'Main-Class': project.mainClassName
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}