Search Gradle plugins

io.github.ermadmi78.kobby

Kobby is a Gradle plugin for generating Kotlin DSL Client by GraphQL schema

https://github.com/ermadmi78/kobby

Version 1.5.1 (latest)

Created 15 June 2022.

Kobby is a codegen plugin of Kotlin DSL Client by GraphQL schema. The generated DSL supports execution of complex GraphQL queries, mutation and subscriptions in Kotlin with syntax similar to native GraphQL syntax. Moreover, you can customize generated DSL by means of GraphQL schema directives and Kotlin extension functions.

Using the plugins DSL:

plugins {
  id "io.github.ermadmi78.kobby" version "1.5.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.ermadmi78:kobby-gradle-plugin:1.5.1"
  }
}

apply plugin: "io.github.ermadmi78.kobby"

Using the plugins DSL:

plugins {
  id("io.github.ermadmi78.kobby") version "1.5.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.ermadmi78:kobby-gradle-plugin:1.5.1")
  }
}

apply(plugin = "io.github.ermadmi78.kobby")

Learn how to apply plugins to subprojects