-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
71 lines (61 loc) · 1.67 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java'
id 'application'
id 'distribution'
}
repositories {
mavenCentral()
}
dependencies {
compile 'org.apache.logging.log4j:log4j-api:2.11.2'
compile 'org.apache.logging.log4j:log4j-core:2.11.2'
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.+'
compile 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.+'
compile 'io.netty:netty-all:4.1.42.Final'
compile 'com.google.code.gson:gson:2.8.5'
compile 'com.sparkjava:spark-core:2.7.2'
compile 'at.favre.lib:bcrypt:0.7.0'
compile 'org.slf4j:slf4j-api:1.7.25'
compile 'org.slf4j:slf4j-simple:1.7.25'
testCompile 'org.junit.jupiter:junit-jupiter-engine:5.4.0'
}
group = 'org.gorlok.aoserver'
version = '0.12.3'
sourceCompatibility = '11'
targetCompatibility = '11'
defaultTasks 'clean', 'jar', 'distZip'
tasks.withType(JavaCompile) {
options.encoding = 'iso-8859-1'
options.compilerArgs << "-Xlint:deprecation"
}
application {
mainClassName = 'org.argentumonline.server.GameServer'
}
distributions {
main {
contents {
from ('dat') {
into 'dat'
}
from ('maps') {
into 'maps'
}
}
}
}
jar {
manifest {
attributes 'Implementation-Title': 'AO Server',
'Implementation-Version': version,
'Main-Class': 'org.argentumonline.server.GameServer',
'Multi-Release': 'true'
}
/*
exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA'
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}*/
}