-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
57 lines (43 loc) · 1.38 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
/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* To learn more about Gradle by exploring our Samples at https://docs.gradle.org/8.4/samples
*/
plugins {
// Apply the java plugin to add support for Java
id 'java'
id 'application'
id 'org.openjfx.javafxplugin' version '0.1.0'
}
mainClassName = 'com.pantrypal.Main'
jar{
manifest{
attributes(
'Main-Class': 'com.pantrypal.Main'
)
}
}
repositories {
mavenCentral()
}
dependencies {
def junitVersion = '5.8.1'
// This provides the JUnit API
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
// This provides the TestEngine to actually run the tests.
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
implementation 'org.jsoup:jsoup:1.14.3' // Use the latest version available
implementation 'org.mongodb:mongodb-driver-sync:4.11.0'
implementation group: 'org.json', name: 'json', version: '20230227'
// https://mvnrepository.com/artifact/org.powermock/powermock-mockito-release-full
testImplementation group: 'org.powermock', name: 'powermock-mockito-release-full', version: '1.5.4', ext: 'pom'
testImplementation "org.mockito:mockito-core:3.+"
}
test {
useJUnitPlatform()
}
javafx {
version = "21.0.1"
modules = [ 'javafx.controls' ]
}