com.apollographql.apollo3.gradle.api.Registry.kt Maven / Gradle / Ivy
package com.apollographql.apollo3.gradle.api
import org.gradle.api.file.RegularFileProperty
import org.gradle.api.provider.Property
/**
* A [Registry] represents a connection to the [Apollo Registry](https://www.apollographql.com/docs/studio/schema/registry/)
*
* Use this to register a `download${ServiceName}ApolloSchemaFromRegistry` task
*/
interface Registry {
/**
* The Apollo key
*
* See https://www.apollographql.com/docs/studio/api-keys/ for how to get an API key
*/
val key: Property
/**
* The graph you want to download the schema from
*/
val graph: Property
/**
* The variant you want to download the schema from
*/
val graphVariant: Property
/**
* The file where to download the schema.
*
* Uses the schema from the service by default
*/
val schemaFile: RegularFileProperty
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy