-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
71 lines (62 loc) · 1.94 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
buildscript {
ext {
checkStyleVersion = "8.16"
spotbugsVersion = "3.1.12"
pmdVersion = "6.3.0"
assignments = [
[
name : "percolation",
sources: ["Percolation.java", "PercolationStats.java"]
],
[
name : "queues",
sources: ["RandomizedQueue.java", "Deque.java", "Permutation.java"]
],
[
name : "collinearpoints",
sources: ["BruteCollinearPoints.java", "FastCollinearPoints.java", "Point.java"],
aditionalSources: ["LineSegment.java"]
],
[
name: "sliderpuzzle",
sources: ["Board.java", "Solver.java"]
],
[
name: "kdtrees",
sources: ["PointSET.java", "KdTree.java"]
],
[
name: "wordnet",
sources: ["WordNet.java", "SAP.java", "Outcast.java"]
],
[
name: "seam",
sources: ["SeamCarver.java"]
]
]
}
}
plugins {
id 'java-library'
id "de.undercouch.download" version "4.0.0"
}
repositories {
jcenter()
}
apply from: "$projectDir/gradle/coursera.gradle"
defaultTasks 'clean', 'check'
dependencies {
// Algorithms, 4th edition textbook code and libraries
compile 'edu.princeton.cs:algs4:1.0.4'
// Use JUnit test framework
testImplementation 'org.junit.jupiter:junit-jupiter:5.5.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.5.0'
// Guava
testImplementation 'com.google.guava:guava:28.0-jre'
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}