From 4d9c48067c3adffd6dc98a9007de29a250988100 Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Tue, 5 Sep 2023 20:48:56 -0700 Subject: [PATCH] Bundle java source with jar matches wpilibsuite/vscode-wpilib#589 --- src/main/resources/export/java/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/export/java/build.gradle b/src/main/resources/export/java/build.gradle index 41476773..9af115be 100644 --- a/src/main/resources/export/java/build.gradle +++ b/src/main/resources/export/java/build.gradle @@ -88,6 +88,7 @@ wpi.sim.addDriverstation() // knows where to look for our Robot Class. jar { from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } } + from sourceSets.main.allSource manifest edu.wpi.first.gradlerio.GradleRIOPlugin.javaManifest(ROBOT_MAIN_CLASS) duplicatesStrategy = DuplicatesStrategy.INCLUDE }