Skip to content

Commit

Permalink
Bundle java source with jar
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz committed Sep 6, 2023
1 parent a269184 commit 4d9c480
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/export/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 4d9c480

Please sign in to comment.