-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
68 lines (52 loc) · 1.62 KB
/
build.gradle
File metadata and controls
68 lines (52 loc) · 1.62 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
64
65
66
67
68
plugins {
// Apply the application plugin to add support for building a CLI application in Java.
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.13'
id 'jacoco'
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
}
ext {
junitVersion = '5.10.0'
}
javafx {
version = '17.0.12'
modules = ['javafx.controls']
}
dependencies {
// Use JUnit Jupiter for testing.
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.1'
// This dependency is used by the application.
implementation 'com.google.guava:guava:30.1.1-jre'
// https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc
implementation 'org.xerial:sqlite-jdbc:3.46.1.0'
// Simple SLF4J Logger Implementation
implementation 'org.slf4j:slf4j-simple:2.0.9'
implementation 'com.dlsc.formsfx:formsfx-core:11.5.0'
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
}
test {
useJUnitPlatform()
}
application {
// Define the module and main class for the application.
mainModule = 'VirtualScrollAccessSystem'
mainClass = 'VirtualScrollAccessSystem.VSAS'
}
tasks.named('test') {
// Use JUnit Platform for unit tests.
useJUnitPlatform()
}
jacocoTestReport {
reports {
xml.required = false
csv.required = false
}
classDirectories.setFrom(fileTree(dir: "$buildDir/classes/java/main", include: [
'VirtualScrollAccessSystem/SQLiteOperations.class',
'VirtualScrollAccessSystem/SQLiteConnection.class'
]))
}