EntryPoints

EntryPoints contains code that is called using reflection from the Gradle plugin. This is so that the classloader can be isolated, and we can use our preferred version of Kotlin and other dependencies without risking conflicts.

It is a version of ApolloCompiler that takes plain Files and other classes available to the bootstrap classloader only.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun buildCodegenSchema(arguments: Map<String, Any?>, logLevel: Int, warnIfNotFound: Boolean, normalizedSchemaFiles: List<Any>, warning: Consumer<String>, codegenSchemaOptionsFile: File, codegenSchemaFile: File)
Link copied to clipboard
fun buildIr(arguments: Map<String, Any?>, logLevel: Int, graphqlFiles: List<Any>, codegenSchemaFiles: List<Any>, upstreamIrOperations: List<Any>, irOptionsFile: File, warning: Consumer<String>, irOperationsFile: File)
Link copied to clipboard
fun buildSources(arguments: Map<String, Any?>, logLevel: Int, warnIfNotFound: Boolean, schemaFiles: List<Any>, graphqlFiles: List<Any>, codegenSchemaOptions: File, codegenOptions: File, irOptions: File, warning: Consumer<String>, operationManifestFile: File?, outputDir: File)
Link copied to clipboard
fun buildSourcesFromIr(arguments: Map<String, Any?>, logLevel: Int, warnIfNotFound: Boolean, codegenSchemaFiles: List<Any>, upstreamMetadata: List<Any>, irOperations: File, downstreamUsedCoordinates: Map<String, Map<String, Set<String>>>, codegenOptions: File, operationManifestFile: File?, outputDir: File, metadataOutputFile: File?)