-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
58 lines (46 loc) · 1.78 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
58 lines (46 loc) · 1.78 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
52
53
54
55
56
57
58
/*
* Copyright 2025 CIT. All Rights Reserved.
*/
plugins {
// Base Niagara plugin
id("com.tridium.niagara")
// The vendor plugin provides the vendor {} extension to set the default group
// for Maven publishing; the default vendor attribute for installable
// manifests; and the default module and dist version for their respective
// manifests
id("com.tridium.vendor")
// The signing plugin configures signing of all executables, modules, and
// dists. It also registers a factory only on the root project to avoid
// overhead from managing signing profiles on all subprojects
id("com.tridium.niagara-signing")
// The niagara_home repositories convention plugin configures !bin/ext and
// !modules as flat-file Maven repositories to allow modules to compile against
// Niagara
id("com.tridium.convention.niagara-home-repositories")
}
vendor {
// defaultVendor sets the "vendor" attribute on module and dist files; it's
// what's shown in Niagara when viewing a module or dist.
defaultVendor("Project Haystack")
// defaultModuleVersion sets the "vendorVersion" attribute on all modules
defaultModuleVersion("4.0.0.0")
}
signingServices {
// Disable the use of the default profile; this will cause build failures instead
// of silently falling back to the default
signingProfileFactory {
allowDefaultProfile.set(false)
}
}
niagaraSigning {
aliases.set(listOf("ph-code-cert"))
signingProfileFile.set(project.layout.projectDirectory.file("C:\\Users\\rmcelhinney\\.tridium\\security\\haystack_signing_profile.xml"))
}
////////////////////////////////////////////////////////////////
// Dependencies and configurations... configuration
////////////////////////////////////////////////////////////////
subprojects {
repositories {
mavenCentral()
}
}