The graphics engine and @grab annotation were created as part of the groovy kernel with single file scripts to allow a piece of text to easily become a fully functional program.
for large applications, gradle is a terrific build tool with many useful features.
but yes, you can manage all the dependencies of the application only with grapes.
regardless of whether you comment on each file or not, just make sure that the annotated @grab file is read before trying to use an external class.
a core class note is probably better since you will easily lose the library version if you have annotations scattered around.
, gradle , .