-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (43 loc) · 1.32 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
plugins {
id 'application'
id 'edu.sc.seis.launch4j' version '2.5.3'
}
group 'ru.futurelink.gerber.panelizer'
version '0.1.1'
def MainClassName = 'ru.futurelink.gerber.panelizer.Panelizer'
def QTPath = ".;.\\bin;.\\bin\\qt\\bin"
def JVMArgs = [ "-Djava.library.path=$QTPath" ]
applicationDefaultJvmArgs = JVMArgs
mainClassName = MainClassName
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
repositories {
mavenCentral()
}
dependencies {
implementation "org.projectlombok:lombok:1.18.24"
annotationProcessor "org.projectlombok:lombok:1.18.24"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.9.0"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.9.0"
implementation "io.qtjambi:qtjambi:6.3.2"
implementation 'io.qtjambi:qtjambi-native-windows-x64:6.3.2'
implementation 'com.fasterxml.jackson.core:jackson-core:2.14.0-rc1'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.0-rc1'
}
test {
systemProperty ("java.library.path", JVMArgs)
useJUnitPlatform()
}
distributions {
main {
contents {
from 'bin/qt'
}
}
}
launch4j {
bundledJrePath = "C:/jdk-17.0.2"
mainClassName = MainClassName
jvmOptions = JVMArgs
icon = "${projectDir}/src/main/resources/app-icon.ico"
}