-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
99 lines (77 loc) · 2.66 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
plugins {
id 'java-library'
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '7.0.0+'
id 'application'
}
repositories {
mavenCentral()
}
group 'ca.gc.cyber'
version 'v2.0.1.dev0'
dependencies {
api 'com.browserup:browserup-proxy-core:2.1.2'
api('com.browserup:browserup-proxy:2.1.2') {
exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
exclude group: 'org.slf4j', module: 'slf4j-simple'
exclude group: 'org.slf4j', module: 'slf4j-jdk14'
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
}
api 'org.yaml:snakeyaml:1.28'
api 'org.seleniumhq.selenium:selenium-api:3.141.59'
api 'org.seleniumhq.selenium:selenium-chrome-driver:3.141.59'
api 'org.seleniumhq.selenium:selenium-java:3.141.59'
api 'org.seleniumhq.selenium:selenium-remote-driver:3.141.59'
api 'org.seleniumhq.selenium:selenium-support:3.141.59'
api 'org.apache.httpcomponents:fluent-hc:4.5.13'
// logging dependencies
api 'org.apache.logging.log4j:log4j-api:2.22.0'
api 'org.apache.logging.log4j:log4j-core:2.22.0'
api 'org.apache.logging.log4j:log4j-slf4j2-impl:2.22.0'
api 'org.slf4j:slf4j-api:1.7.30'
api 'commons-cli:commons-cli:1.4'
api 'commons-io:commons-io:2.5'
api 'commons-net:commons-net:3.7.2'
api 'org.apache.commons:commons-lang3:3.11'
api 'org.apache.commons:commons-text:1.9'
api 'org.projectlombok:lombok:1.18.12'
api 'com.fasterxml.jackson.core:jackson-databind:2.12.1'
api 'io.netty:netty-all:4.1.45.Final'
// be able to build with lombok annotation
annotationProcessor 'org.projectlombok:lombok:1.18.12'
testImplementation 'junit:junit:4.12'
testImplementation "org.mockito:mockito-core:5.+"
testImplementation 'org.mockito:mockito-inline:5.2.0'
api('com.google.code.gson:gson:2.8.6') {
force = true
}
constraints {
implementation('org.apache.logging.log4j:log4j-api:2.16.0') {
because 'of the log4shell vulnerability'
}
}
}
sourceSets {
test.java.srcDirs = ['test/src']
main.java.srcDirs = ['src']
main.resources.srcDirs = ['resources']
}
jar {
zip64 = true
duplicatesStrategy "exclude"
manifest {
attributes(
'Main-Class': 'ca.gc.cyber.kangooroo.KangoorooStandaloneRunner',
'Class-Path': getProject().getConfigurations().runtimeClasspath.collect { 'lib/' + it.getName() }.join(' '),
'Multi-Release': true
)
}
}
application {
mainClass = "ca.gc.cyber.kangooroo.KangoorooStandaloneRunner"
}
distZip {
doFirst {
archiveName = "KangoorooStandalone.zip"
}
}