Brian Silverman | 41cdd3e | 2019-01-19 19:48:58 -0800 | [diff] [blame^] | 1 | def netCommLibConfigs = [:];
|
| 2 | def chipObjectConfigs = [:];
|
| 3 |
|
| 4 | project.chipObjectComponents.each { String s->
|
| 5 | chipObjectConfigs[s] = ['linux:athena']
|
| 6 | }
|
| 7 |
|
| 8 | project.netCommComponents.each { String s->
|
| 9 | netCommLibConfigs[s] = ['linux:athena']
|
| 10 | }
|
| 11 |
|
| 12 | def niLibrariesVersion = '2019.12.1'
|
| 13 |
|
| 14 | model {
|
| 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 | }
|