-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
38 lines (31 loc) · 1.01 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
apply plugin: 'groovy'
repositories{
mavenCentral()
flatDir {
dirs 'agent/deps/libs'
}
}
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.2.3.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: "org.apache.commons", module: 'commons-lang'
exclude group: "commons-collections", module: 'commons-collections'
exclude group: "com.electriccloud.plugins", module: 'flowpdf-groovy-lib'
}
into 'agent/deps/libs'
}