mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Configure gradle to ignore unresolved headers (#1711)
Work around Gradle's handling of libraries like eigen and opencv which use macro includes. Also completely disable incremental includes.
This commit is contained in:
committed by
Peter Johnson
parent
221e66f46d
commit
c2829ed98e
@@ -5,6 +5,13 @@ pluginManagement {
|
||||
}
|
||||
}
|
||||
|
||||
// Set the flag to tell gradle to ignore unresolved headers
|
||||
// Libraries like eigen and opencv use macro includes, which
|
||||
// Gradle doesn't properly ignore, and completely disables
|
||||
// Incremental includes. This flag makes those includes be ignored.
|
||||
Properties props = System.getProperties();
|
||||
props.setProperty("org.gradle.internal.native.headers.unresolved.dependencies.ignore", "true");
|
||||
|
||||
include 'wpiutil'
|
||||
include 'ntcore'
|
||||
include 'hal'
|
||||
|
||||
Reference in New Issue
Block a user