mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
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
18 lines
385 B
Groovy
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'
|
|
}
|