mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
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:
committed by
Fred Silberberg (WPI)
parent
684da8d89f
commit
20749ed6e9
@@ -11,4 +11,7 @@ dependencies {
|
||||
}
|
||||
|
||||
apply from: 'athena.gradle'
|
||||
apply from: 'simulation.gradle'
|
||||
|
||||
if (project.hasProperty('makeSim')){
|
||||
apply from: 'simulation.gradle'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user