Search Gradle plugins

Version 1.2.2-SNAPSHOT

Created 20 November 2019.

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

Using the plugins DSL:

plugins {
  id "com.apollographql.apollo" version "1.2.2-SNAPSHOT"
}

Using legacy plugin application:

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

apply plugin: "com.apollographql.apollo"

Using the plugins DSL:

plugins {
  id("com.apollographql.apollo") version "1.2.2-SNAPSHOT"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects