Skip to content

Commit

Permalink
Bundle java source with jar (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz authored Sep 9, 2023
1 parent 0fb92f7 commit f07eed0
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 f07eed0

Please sign in to comment.