-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
75 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
72
73
74
75
plugins {
id 'java'
id 'edu.sc.seis.launch4j' version '2.5.4'
id 'org.springframework.boot' version '3.0.2'
id 'io.spring.dependency-management' version '1.1.0'
}
group = 'com.flylazo.naru_acars'
version = '1.1.1'
sourceCompatibility = '17'
targetCompatibility = '17'
var fsuipc = 'lib/FSUIPC-1.0.2.jar'
var xpc = 'lib/XPlaneConnect.jar'
repositories {
mavenCentral()
}
dependencies {
// Spring Boot
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
// Java Chromium Embedded Framework
implementation 'me.friwi:jcefmaven:110.0.25'
// Burningwave Core (Let us export module packages required for JCEF)
implementation 'org.burningwave:core:12.62.5'
// Simulator bridges
implementation files(fsuipc)
implementation files(xpc)
// Mockito
testImplementation "org.mockito:mockito-core:3.+"
// OpenCSV
//noinspection VulnerableLibrariesLocal
implementation 'com.opencsv:opencsv:5.7.1'
// Jakarta XML Binding API
implementation 'org.eclipse.persistence:org.eclipse.persistence.moxy:4.0.0'
implementation 'jakarta.xml.bind:jakarta.xml.bind-api:4.0.0'
implementation 'jakarta.activation:jakarta.activation-api:2.1.1'
// Jackson Javascript Mapper API
implementation 'com.fasterxml.jackson.core:jackson-core:2.14.2'
}
launch4j {
mainClassName = 'org.springframework.boot.loader.JarLauncher'
productName = rootProject.name
dontWrapJar = false
headerType = 'gui'
errTitle = 'Java not installed!'
windowTitle = 'Naru ACARS'
mutexName = 'naruacars'
downloadUrl = 'https://www.oracle.com/java/technologies/downloads/'
stayAlive = false
jarTask = project.tasks.bootJar
}
tasks.named('test') {
useJUnitPlatform()
}
processResources {
filesMatching(['**/*.properties']) {
filter {
it.replace('%VERSION%', version)
}
}
}