Skip to main content

Gradle

Simple Story

This page is meant to move an exercise from the old rules straight to the way where the head teacher prints the rules onto the grading instructions beforehand. Nobody has written it yet, so for now move the exercise to the way where the teacher picks up the rule sheet for each question, and switch afterwards.

Who is who

This page is a stub

The Ares 1 migration guide this section was built from describes exactly one target, and it is the Postcompile one: replace the dependency, rewrite the imports, translate the annotations, apply @Policy. It contains no Precompile material at all, so there is nothing here to relocate and this page is new documentation rather than moved prose.

Until it is written, migrate onto Postcompile: Gradle first. That path is documented and verified, and a Precompile conversion afterwards is then an ordinary Precompile setup rather than a migration.

What this page will cover​

Going from an Ares 1 exercise to a generated Precompile exercise in one step: removing the Ares 1 dependency without adding an Ares 2 one, translating the annotations into the policy the generator reads, running the generator, and wiring the generated artefacts into build.gradle.

What already applies unchanged​

Two parts of the migration do not depend on the mode and are documented today:

What has to be established first​

Whether a one-step migration is worth documenting at all, or whether migrating to Postcompile and converting afterwards should stay the supported route. That decision belongs in the Precompile setup pages, which are themselves still being written.

Notes​

  • There is no runnable Precompile example in the repository yet, so this page cannot be verified against one.