-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathbuild.gradle.kts
64 lines (55 loc) · 1.31 KB
/
build.gradle.kts
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
val kotlinVersion = "1.4.10"
application
id("com.github.johnrengelman.shadow") version "5.1.0" apply false
id("org.jetbrains.kotlin.jvm") version kotlinVersion apply false
id("org.jetbrains.kotlin.kapt") version kotlinVersion apply false
id("org.jetbrains.kotlin.plugin.allopen") version kotlinVersion apply false
id("org.jetbrains.kotlin.plugin.spring") version "1.4.10" apply false
id("idea")
}
idea {
module {
isDownloadJavadoc = true
isDownloadSources = true
}
}
allprojects {
version = "1.6"
group = "camunda-formio-plugin"
repositories {
jcenter()
}
tasks {
withType<KotlinCompile> {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
javaParameters = true
}
}
}
}
/**
* Copy files used in dockerfile build
*/
tasks.create("setupDockerFiles"){
copy {
from("./common/tasklist")
into("./docker/tasklist")
}
copy {
from("./common/forms")
into("./docker/forms")
}
}
/**
* Cleanup docker files
*/
tasks.clean {
delete("./docker/forms")
delete("./docker/tasklist")
delete(fileTree("./docker"){
include("*.jar")
})
}