-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (35 loc) · 923 Bytes
/
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
plugins {
id 'java'
id 'io.freefair.lombok' version '8.0.1'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
repositories {
mavenCentral()
}
configurations {
botJar
}
dependencies {
compileOnly 'org.finos.symphony.wdk:workflow-language:1.6.3'
compileOnly 'org.finos.symphony.wdk:workflow-bot-app:1.6.3'
compileOnly 'org.springframework.boot:spring-boot-starter:2.7.13'
botJar 'org.finos.symphony.wdk:workflow-bot-app:1.6.3:boot'
}
tasks.register('botJar', Copy) {
description "Downloads WDK jar."
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from configurations.botJar
into project.projectDir
rename { f -> "workflow-bot-app.jar" }
}
tasks.register('customActivityLibs', Copy) {
description "Copies custom activity dependencies in lib folder."
from jar
from configurations.runtimeClasspath
into "lib"
}
tasks.build.dependsOn tasks.customActivityLibs