DefaultApolloExtension

abstract class DefaultApolloExtension(project: Project) : ApolloExtension

Constructors

Link copied to clipboard
constructor(project: Project)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class Configurations(val consumable: Configuration, val resolvable: Configuration)

Properties

Link copied to clipboard
open override val deps: ApolloDependencies

Common apollo dependencies using the same version as the Apollo Gradle Plugin currently in the classpath

Link copied to clipboard
abstract override val generateSourcesDuringGradleSync: Property<Boolean>

Adds "generateApolloSources" as a dependency of "prepareKotlinIdeaImport" This makes IDEA aware of codegen and will run it during your Gradle Sync

Link copied to clipboard
abstract override val linkSqlite: Property<Boolean>

For Kotlin native projects, whether to link Sqlite (-lsqlite3). This is required by apollo-normalized-cache-sqlite but some projects might want to customize linker options

Functions

Link copied to clipboard
open override fun createAllAndroidVariantServices(sourceFolder: String, nameSuffix: String, action: Action<Service>)

registers multiple services for an android project

Link copied to clipboard
open override fun createAllKotlinSourceSetServices(sourceFolder: String, nameSuffix: String, action: Action<Service>)

registers multiple services for a Kotlin project

Link copied to clipboard
open override fun service(name: String, action: Action<Service>)

Call from users to explicitly register a service or by the plugin to register the implicit service