-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
102 lines (88 loc) · 3.34 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
plugins {
id "io.ia.sdk.modl" version "0.1.1"
}
ext {
sdk_version = "8.1.2"
}
allprojects {
version = "0.2.1"
}
ignitionModule {
/*
* Human readable name of the module, as will be displayed on the gateway status page
*/
name = "Neo4J Driver"
/*
* Name of the '.modl' file to be created, without file extension.
*/
fileName = "Neo4J-Driver.modl"
/*
* Unique identifier for the module. Reverse domain convention is recommended (e.g.: com.mycompany.charting-module)
*/
id = "com.bwdesigngroup.neo4j.Neo4JDriver"
moduleVersion = version
moduleDescription = "Adds a neo4J driver connection for the client and gateway."
/*
* Minimum version of Ignition required for the module to function correctly. This typically won't change over
* the course of a major Ignition (7.9, 8.0, etc) version, except for when the Ignition Platform adds/changes APIs
* used by the module.
*/
requiredIgnitionVersion = "8.0.10"
/*
* This is a map of String: String, where the 'key' represents the fully qualified path to the project
* (using gradle path syntax), and the value is the shorthand Scope string.
* Example entry: [ ":gateway": "G", ":common": "GC", ":vision-client": "C" ]
*/
projectScopes = [
":client" : "CD",
":common" : "GCD",
":designer" : "D",
":gateway" : "G"
]
/*
* Add your module dependencies here, following the examples, with scope being one or more of G, C or D,
* for (G)ateway, (D)esigner, Vision (C)lient.
*
* Example Value:
* moduleDependencies = [
"com.inductiveautomation.vision": "CD",
"com.inductiveautomation.opcua": "G"
* ]
*/
moduleDependencies = [ : ]
/*
* Map of fully qualified hook class to the shorthand scope. Only one scope per hook class.
*
* Example entry: "com.myorganization.vectorizer.VectorizerDesignerHook": "D"
*/
hooks = [
"com.bwdesigngroup.neo4j.gateway.Neo4JDriverGatewayHook" : "G",
"com.bwdesigngroup.neo4j.client.Neo4JDriverClientHook" : "C",
"com.bwdesigngroup.neo4j.designer.Neo4JDriverDesignerHook" : "D"
]
applyInductiveArtifactRepo = true
/*
* Optional 'documentation' settings. Supply the files that would be desired to end up in the 'doc' dir of the
* assembled module, and specify the path to the index.html file inside that folder. In this commented-out
* example, the html files being collected are located in the module root project in `src/docs/`
*/
// the files to collect into the documentation dir, with example implementation
// documentationFiles.from(project.file("src/docs/"))
// the path from the root documentation dir to the index file.
// documentationIndex.set("index.html")
/*
* Optional unsigned modl settings. If true, modl signing will be skipped. This is not for production and should
* be used merely for development testing
*/
// skipModlSigning.set(true)
}
task deepClean() {
dependsOn allprojects.collect { "${it.path}:clean" }
description "Executes clean tasks and remove node plugin caches."
doLast {
delete(file(".gradle"))
}
}
tasks.withType(io.ia.sdk.gradle.modl.task.Deploy).configureEach {
hostGateway = "http://neo4j-ignition.localtest.me:80"
}