Search Gradle plugins

Version 2.0.3

Created 06 May 2020.

Automatically generates typesafe java and kotlin models from your GraphQL files.

Using the plugins DSL:

plugins {
  id "com.apollographql.apollo" version "2.0.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.apollographql.apollo:apollo-gradle-plugin:2.0.3"
  }
}

apply plugin: "com.apollographql.apollo"

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.apollographql.apollo:apollo-gradle-plugin:2.0.3")
  }
}

apply(plugin = "com.apollographql.apollo")

Learn how to apply plugins to subprojects