Skip to content

Commit

Permalink
fixed the build.gradle for release .jar
Browse files Browse the repository at this point in the history
  • Loading branch information
STHobbes committed Dec 9, 2023
1 parent 86370f4 commit d993fee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ option to:
In github you will find an 0.9.5 release of the *SwervePathPlanning-0.9.5-all.jar*
which you can run at the command line as:
```
% java SwervePathPlanning-0.9.5-all.jar
% java -jar SwervePathPlanning-0.9.5-all.jar
```
See notes in the next section about command line arguments. While this is a running
program, it lacks data for field, robot, or path descriptions; so, you may want to
Expand Down
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ repositories {
mavenCentral()
}

tasks.jar {
manifest.attributes["Main-Class"] = "frc6831.planner.PathPlanner"
}

dependencies {
implementation 'org.a05annex:a05annexUtil:0.9.6'
// implementation fileTree(dir: 'libs', include: ['*.jar'])
Expand Down

0 comments on commit d993fee

Please # to comment.