diff --git a/README.md b/README.md index f93b3f0..38c7b73 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/build.gradle b/build.gradle index b72611b..881251a 100644 --- a/build.gradle +++ b/build.gradle @@ -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'])