diff --git a/developerRobot/build.gradle b/developerRobot/build.gradle index 5a8b95c4b1b..ff48fe5cf17 100644 --- a/developerRobot/build.gradle +++ b/developerRobot/build.gradle @@ -142,6 +142,19 @@ deploy { } } +// Prevent the eclipse compiler (used by the VS Code extension for intellisense and debugging) +// from generating bad class files from annotation processors like Epilogue +eclipse { + classpath { + containers 'org.eclipse.buildship.core.gradleclasspathcontainer' + file.whenMerged { cp -> + def entries = cp.entries; + def src = new org.gradle.plugins.ide.eclipse.model.SourceFolder('build/generated/sources/annotationProcessor/java/main/', null) + entries.add(src) + } + } +} + tasks.register('deployJava') { try { dependsOn tasks.named('deployjreroborio')