Search Gradle plugins

Version 4.3.2

Created 25 July 2025.

ℹ️ Newer versions of the Apollo Kotlin Gradle Plugin (v5+) are only published on Maven Central. See https://github.com/gradle/plugin-portal-requests/issues/225 for more details and https://www.apollographql.com/docs/kotlin/advanced/plugin-configuration for documentation about the Gradle plugin.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.apollographql.apollo") version "4.3.2"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.apollographql.apollo:com.apollographql.apollo.gradle.plugin:4.3.2")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.apollographql.apollo")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.apollographql.apollo:com.apollographql.apollo.gradle.plugin:4.3.2")
      }
    }
    
    apply(plugin = "com.apollographql.apollo")
  • Applying plugins to all subprojects .