-
Notifications
You must be signed in to change notification settings - Fork 87
/
Copy pathbuild.gradle
76 lines (57 loc) · 1.96 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
72
73
74
75
76
group "org.polypheny"
dependencies {
implementation group: "io.javalin", name: "javalin", version: javalin_version // Apache 2.0
implementation group: 'net.lingala.zip4j', name: 'zip4j', version: zip4j_version // Apache 2.0
implementation group: "com.google.code.gson", name: "gson", version: gson_version // Apache 2.0
implementation group: "com.fasterxml.jackson.core", name: "jackson-databind", version: jackson_databind_version // Apache 2.0
implementation group: "com.typesafe", name: "config", version: typesafe_config_version // Apache 2.0
implementation group: "org.reflections", name: "reflections", version: reflections_version // BSD 2-clause
implementation group: "com.google.guava", name: "guava", version: guava_version // Apache 2.0
// --- Test Compile ---
testImplementation project(path: ":core", configuration: "tests")
}
sourceSets {
main {
java {
srcDirs = ["src/main/java"]
}
resources {
srcDirs = ["src/main/resources"]
}
output.resourcesDir = file(project.buildDir.absolutePath + "/classes")
}
test {
java {
srcDirs = ["src/test/java"]
destinationDirectory.set(file(project.buildDir.absolutePath + "/test-classes"))
}
resources {
srcDirs = ["src/test/resources"]
}
output.resourcesDir = file(project.buildDir.absolutePath + "/test-classes")
}
}
/**
* JavaDoc
*/
javadoc {
options.addBooleanOption("html5", true)
// Suppress most of the warnings
options.addStringOption("Xdoclint:none", "-quiet")
// Include private fields in JavaDoc
options.memberLevel = JavadocMemberLevel.PRIVATE
}
/**
* JARs
*/
jar {
manifest {
attributes "Manifest-Version": "1.0"
attributes "Copyright": "The Polypheny Project (polypheny.org)"
attributes "Version": "$project.version"
}
}
java {
withJavadocJar()
withSourcesJar()
}