blob: 937abbf7a0c3f2b82e84ae2fcb49dae39db1748d [file] [log] [blame]
Brian Silverman41cdd3e2019-01-19 19:48:58 -08001def netCommLibConfigs = [:];
2def chipObjectConfigs = [:];
3
4project.chipObjectComponents.each { String s->
5 chipObjectConfigs[s] = ['linux:athena']
6}
7
8project.netCommComponents.each { String s->
9 netCommLibConfigs[s] = ['linux:athena']
10}
11
12def niLibrariesVersion = '2019.12.1'
13
14model {
15 dependencyConfigs {
16 chipobject(DependencyConfig) {
17 groupId = 'edu.wpi.first.ni-libraries'
18 artifactId = 'chipobject'
19 headerClassifier = 'headers'
20 ext = 'zip'
21 version = niLibrariesVersion
22 sharedConfigs = chipObjectConfigs
23 staticConfigs = [:]
24 compileOnlyShared = true
25 }
26 netcomm(DependencyConfig) {
27 groupId = 'edu.wpi.first.ni-libraries'
28 artifactId = 'netcomm'
29 headerClassifier = 'headers'
30 ext = 'zip'
31 version = niLibrariesVersion
32 sharedConfigs = netCommLibConfigs
33 staticConfigs = [:]
34 compileOnlyShared = true
35 }
36 }
37}