-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
69 lines (61 loc) · 2.35 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
plugins {
id 'org.springframework.boot' version '3.4.1'
id 'io.spring.dependency-management' version '1.1.7'
id 'java'
}
group = 'com.jasper'
version = '0.0.2'
java{
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
repositories {
mavenCentral()
// For JasperReports extention Library
maven { url "https://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/"}
//For Spring Milestone
//maven { url "https://repo.spring.io/snapshot" }
//maven { url "https://repo.spring.io/milestone" }
}
// log4j2
// https://security.snyk.io/vuln/SNYK-JAVA-ORGAPACHELOGGINGLOG4J-2314719
ext['log4j2.version'] = '2.17.1'
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
//JasperReport Library
implementation 'net.sf.jasperreports:jasperreports:7.0.1'
// https://mvnrepository.com/artifact/com.github.librepdf/openpdf
// for jasperreports
implementation 'com.github.librepdf:openpdf:2.0.3'
// DejaVu Font extensions
// https://mvnrepository.com/artifact/net.sf.jasperreports/jasperreports-fonts
implementation 'net.sf.jasperreports:jasperreports-fonts:7.0.1'
// https://mvnrepository.com/artifact/net.sf.barcode4j/barcode4j
implementation 'net.sf.barcode4j:barcode4j:2.1'
// https://mvnrepository.com/artifact/org.apache.xmlgraphics/batik-bridge
// this need for barcode4j.
implementation 'org.apache.xmlgraphics:batik-bridge:1.18'
// this for barcode4j is vulnerabilities
// https://mvnrepository.com/artifact/org.apache.ant/ant
implementation 'org.apache.ant:ant:1.10.15'
// this for barcode4j is vulnerabilities
// https://mvnrepository.com/artifact/junit/junit
implementation 'junit:junit:4.13.2'
// this is vulnerabilities for net.sf.jasperreports:jasperreports@6.17.0
// https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on
implementation 'org.bouncycastle:bcprov-jdk15on:1.70'
// this is vulnerabilities for batik-bridge@1.14
// https://mvnrepository.com/artifact/commons-io/commons-io
implementation 'commons-io:commons-io:2.18.0'
// https://mvnrepository.com/artifact/xerces/xercesImpl
// protected An illegal reflective access operation. for jasperreports
implementation 'xerces:xercesImpl:2.12.2'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
test {
useJUnitPlatform()
}
//fully executable On Unix like platforms
bootJar {
launchScript()
}