Files
allwpilib/wpilibj/build.gradle
Peter_Mitrano 20749ed6e9 Condition java sim build on -PmakeSim flag
This prevents issues building wpilib if you have ntcore but haven't
built desktop
If you want to build sim, use -PmakeSim
This will require the desktop build of ntcore, which can be done with:
./gradlew build publish -PmakeDesktop

Change-Id: I20f379267a226dbdfcff8fe6223670257725965a
2015-12-23 10:38:51 -08:00

18 lines
385 B
Groovy

apply plugin: 'java'
apply plugin: 'maven-publish'
sourceSets {
shared
}
dependencies {
sharedCompile 'edu.wpi.first.wpilib.networktables.java:NetworkTables:3.0.0-SNAPSHOT:arm'
sharedRuntime 'edu.wpi.first.wpilib.networktables.java:NetworkTables:3.0.0-SNAPSHOT:arm'
}
apply from: 'athena.gradle'
if (project.hasProperty('makeSim')){
apply from: 'simulation.gradle'
}