'antlr4-runtime' which imports the required runtime targets and 'antlr4-generator' which provides a convenient function to use the generator. Only the latter one has a dependency to the Java package.