Derivative of Hartwell's Antrl4cs: contains "ITask" wrapper for Msbuild, schemas for setting Antlr4 file properties, and a separately installed official Antlr4 java tool at antlr.org downloads.
Install-Package Antlr4BuildTasks -Version 1.0.8
dotnet add package Antlr4BuildTasks --version 1.0.8
<PackageReference Include="Antlr4BuildTasks" Version="1.0.8" />
paket add Antlr4BuildTasks --version 1.0.8
Clean up of the targets file and Task assembly with Java home.
This package is not used by any popular GitHub repositories.