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
This commit is contained in:
Peter_Mitrano
2015-12-20 04:03:32 -05:00
committed by Fred Silberberg (WPI)
parent 684da8d89f
commit 20749ed6e9

View File

@@ -11,4 +11,7 @@ dependencies {
}
apply from: 'athena.gradle'
apply from: 'simulation.gradle'
if (project.hasProperty('makeSim')){
apply from: 'simulation.gradle'
}