mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
36 lines
897 B
Groovy
36 lines
897 B
Groovy
def netCommLibConfigs = [:];
|
|
def chipObjectConfigs = [:];
|
|
|
|
project.chipObjectComponents.each { String s->
|
|
chipObjectConfigs[s] = ['linux:athena']
|
|
}
|
|
|
|
project.netCommComponents.each { String s->
|
|
netCommLibConfigs[s] = ['linux:athena']
|
|
}
|
|
|
|
model {
|
|
dependencyConfigs {
|
|
chipobject(DependencyConfig) {
|
|
groupId = 'edu.wpi.first.ni-libraries'
|
|
artifactId = 'chipobject'
|
|
headerClassifier = 'headers'
|
|
ext = 'zip'
|
|
version = '2018.17.1'
|
|
sharedConfigs = chipObjectConfigs
|
|
staticConfigs = [:]
|
|
compileOnlyShared = true
|
|
}
|
|
netcomm(DependencyConfig) {
|
|
groupId = 'edu.wpi.first.ni-libraries'
|
|
artifactId = 'netcomm'
|
|
headerClassifier = 'headers'
|
|
ext = 'zip'
|
|
version = '2018.17.1'
|
|
sharedConfigs = netCommLibConfigs
|
|
staticConfigs = [:]
|
|
compileOnlyShared = true
|
|
}
|
|
}
|
|
}
|