forked from sarahegreen/SoftwareDesignCode
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle
More file actions
63 lines (53 loc) · 1.86 KB
/
build.gradle
File metadata and controls
63 lines (53 loc) · 1.86 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
plugins {
id 'java-library'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.8'
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
//
//sourceSets.main.java.srcDirs = ['src']
//sourceSets.test.java.srcDirs = ['test']
javafx {
version = '11'
modules = [ 'javafx.controls', 'javafx.fxml', 'javafx.swing', 'javafx.media', 'javafx.graphics']
}
test {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
}
useJUnit()
// show standard out and standard error of the test JVM(s) on the console
testLogging.showStandardStreams = true
}
// uncomment the desired module to test/run
//mainClassName = "ca.mcgill.cs.swdesign.m1.Client"
//mainClassName = "ca.mcgill.cs.swdesign.m0.demo.Welcome"
//mainClassName = "ca.mcgill.cs.swdesign.m2.Game"
//mainClassName = "ca.mcgill.cs.swdesign.m5.icon.BridgeDealer"
//mainClassName = "ca.mcgill.cs.swdesign.m6.LuckyNumber"
//mainClassName = "ca.uvic.seng330.m9.CCounter"
mainClassName = "ca.uvic.seng330.m10.SerializeCarTester"
// In this section you declare where to find the dependencies of your project
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
mavenCentral()
}
dependencies {
// This dependency is exported to consumers, that is to say found on their compile classpath.
// api 'org.apache.commons:commons-math3:3.6.1'
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
// implementation 'org.json:json:20180813','org.slf4j:slf4j-simple:1.7.25'
testImplementation (
'junit:junit:4.11',
// "org.mockito:mockito-core:2.+"
)
testRuntimeOnly(
'junit:junit:4.11'
)
implementation 'junit:junit:4.12'
}