-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathbuild.gradle
More file actions
46 lines (39 loc) · 1.06 KB
/
build.gradle
File metadata and controls
46 lines (39 loc) · 1.06 KB
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
apply plugin: 'java'
sourceCompatibility = '1.8'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
task wrapper(type: Wrapper) {
gradleVersion = '4.5.1'
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
}
// Dependency repository.
repositories {
mavenCentral()
}
// Project dependencies. Currently only for unit tests.
dependencies {
testCompile 'junit:junit:4.12',
'com.google.code.gson:gson:2.8.2'
}
// Specify main class for the JAR file.
jar {
manifest {
attributes 'Main-Class': 'at.unisalzburg.dbresearch.apted.util.CommandLine'
}
// Exclude the old API from the JAR.
exclude (
'costmodel',
'distance',
'node',
'parser'
)
}
// Include test classes and private members into javadoc.
javadoc {
classpath += sourceSets.test.compileClasspath
source += sourceSets.test.allJava
options.memberLevel = JavadocMemberLevel.PRIVATE
}
// Enable printing to standard output while testing.
test {
testLogging.showStandardStreams = true
}