-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (51 loc) · 2.1 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
apply plugin: 'groovy'
repositories{
mavenCentral()
flatDir {
dirs 'agent/deps/libs'
}
}
ext {
lombokVersion = "1.18.24"
jacksonVersion = "2.15.2"
}
dependencies {
implementation 'org.codehaus.groovy:groovy-all:2.4.13'
// Change the version if you have upgraded the groovy library
implementation 'com.electriccloud.plugins:flowpdf-groovy-lib:1.3.0.0'
implementation 'org.jetbrains:annotations:23.1.0'
implementation "com.fasterxml.jackson.core:jackson-databind:$jacksonVersion"
implementation 'commons-io:commons-io:2.11.0'
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
implementation 'com.squareup.okhttp3:logging-interceptor:4.10.0'
}
sourceSets {
main {
groovy {
srcDirs = ['dsl/properties/groovy/lib']
}
}
}
// Use this task to include third-party dependencies into to agent folder
task copyDependencies(type: Copy) {
outputs.upToDateWhen { false }
from configurations.runtimeClasspath {
// Dependencies already included into the COMMANDER_HOME/utils/langs
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
exclude group: "commons-lang", module: 'commons-lang'
exclude group: "commons-codec", module: 'commons-codec'
exclude group: "commons-beanutils", module: 'commons-beanutils'
exclude group: "commons-collections", module: 'commons-collections'
exclude group: "com.electriccloud.plugins", module: 'flowpdf-groovy-lib'
exclude group: "com.electriccloud", module: 'commander-api-bindings'
exclude group: 'org.apache.httpcomponents', module: 'httpclient'
exclude group: 'xml-resolver', module: 'xml-resolver'
exclude group: 'xml-apis', module: 'xml-apis'
exclude group: 'xerces', module: 'xercesImpl'
exclude group: 'net.sf.ezmorph', module: 'ezmorph'
exclude group: 'net.sourceforge.nekohtml', module: 'nekohtml'
exclude group: 'net.sf.json-lib', module: 'json-lib'
exclude group: 'org.codehaus.groovy.modules.http-builder', module: 'http-builder'
}
into 'agent/deps/libs'
}