-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
51 lines (42 loc) · 1.33 KB
/
build.gradle.kts
File metadata and controls
51 lines (42 loc) · 1.33 KB
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
import java.util.concurrent.TimeUnit
plugins {
base
// the ignition module plugin: https://github.com/inductiveautomation/ignition-module-tools
id("io.ia.sdk.modl") version("0.1.1")
id("org.barfuin.gradle.taskinfo") version "1.3.0"
}
allprojects {
version = "2.0.0"
group = "org.imdc"
}
ignitionModule {
fileName.set("PerspectiveMomentaryButton")
name.set("Perspective Momentary Button")
id.set("org.imdc.perspective.momentarybutton")
moduleVersion.set("${project.version}")
moduleDescription.set("The module provides a Perspective momentary button component")
requiredIgnitionVersion.set("8.3.0")
license.set("license.html")
moduleDependencies.put("com.inductiveautomation.perspective", "DG")
projectScopes.putAll(
mapOf(
":gateway" to "G",
":web" to "G",
":designer" to "D",
":common" to "GD"
)
)
hooks.putAll(
mapOf(
"org.imdc.perspective.momentarybutton.gateway.GatewayHook" to "G",
"org.imdc.perspective.momentarybutton.designer.DesignerHook" to "D"
)
)
}
val deepClean by tasks.registering {
dependsOn(allprojects.map { "${it.path}:clean" })
description = "Executes clean tasks and remove node plugin caches."
doLast {
delete(file(".gradle"))
}
}