Cannot use function in custom mix task defined in same app

I’m an idiot who should RTFM:

For instance, archives do not include dependencies, as those would conflict with any dependency in a Mix project after the archive is installed.