-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
78 lines (64 loc) · 2.24 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
76
77
78
/*
* Copyright (c) 2021. Creative Commons Legal Code
*
* CC0 1.0 Universal
*
* CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
* LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
* ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
* INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
* REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
* PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
* THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
* HEREUNDER.
*/
plugins {
id 'java'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.9'
id 'org.beryx.jlink' version '2.21.4'
}
sourceCompatibility = 11
allprojects {
group 'org.masjidku'
version '1.0'
}
repositories {
mavenCentral()
}
dependencies {
// Database
implementation group: 'mysql', name: 'mysql-connector-java', version: '8.0.24'
// Reporting
implementation group: 'com.github.librepdf', name: 'openpdf', version: '1.3.26'
implementation ('net.sf.jasperreports:jasperreports:6.16.0') {
exclude (group: 'com.lowagie', module: 'itext')
}
//XML bind
implementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
implementation 'org.jetbrains:annotations:20.1.0'
// Unit Test
testCompile group: 'junit', name: 'junit', version: '4.12'
// Hash Security /and other tools
implementation group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
}
javafx {
version = "14"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}
application{
mainClassName = 'org.masjidku.MainApp'
}
jlink {
launcher {
name = 'JPackage Demo'
}
jpackage {
installerOutputDir = file("$buildDir/installers")
installerOptions = [
'--vendor', 'Group 5',
'--win-per-user-install', '--win-dir-chooser',
'--win-menu', '--win-shortcut'
]
}
}