GatorEducator / gatorgrader

:heavy_check_mark: Automated Grading Tool that Checks the Work of Writers and Programmers
GNU General Public License v3.0
79 stars 22 forks source link

Create Gradle Task to Run GatorGrader #14

Closed Michionlion closed 6 years ago

Michionlion commented 6 years ago

Currently students run a bash file which calls the gatorgrader python program to do checking. Once @toccinAC finishes documentation and converting that bash file setup to a python one, a custom gradle task that runs gatorgrader for a project would greatly help students. We should put together a JAR or other packaged gradle add-on to allow a command such as $gradle grade to be used.

gkapfham commented 6 years ago

Hello @Michionlion! I agree that this is a really good idea. Can you start to investigate how to perform this type of packing in Gradle? Perhaps you might be able to learn more about how to allow Gradle tasks to call Python programs in advance of @toccinAC completing the new Python script? Then, once he is finished, it would be possible to connect the new script to your Gradle approach. Seems reasonable?

Michionlion commented 6 years ago

I've started work on this feature, in the form of a plugin to be published on one of the central Gradle repositories. Anyone is invited to join - it is written in Java with the Gradle API. The repository is here.

Michionlion commented 6 years ago

The first working build of GatorGradle has been released. It's available at the gradle plugin portal, and can be included from any gradle project to enable GatorGrading checking. The documentation and future work (still need major improvements) can be found at the gatored/gatorgradle repo.

I'm now closing this issue -- any future discussion should take place on the projects and issues board in the above repository.