Files
allwpilib/shared/nilibraries.gradle
Thad House 88b93c220e Update NativeUtils to not copy NI libraries to jenkins RoboRIO (#1359)
Allows for compile only shared libraries
2018-10-06 20:51:00 -07:00

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
}
}
}