Skip to content

Using legacy plugin option in gradle #850

Answered by ddskolla
ddskolla asked this question in Q&A
Discussion options

You must be logged in to vote

Ok got it working finally with

buildscript {
    repositories {
        maven {
            url "https://plugins.gradle.org/m2/"
        }
    }
    dependencies {
        classpath "io.github.kobylynskyi:graphql-java-codegen-gradle-plugin:5.3.0"
    }
}

apply plugin: io.github.kobylynskyi.graphql.codegen.gradle.GraphQLCodegenGradlePlugin

grabbed the fully qualified class name from here : https://github.com/kobylynskyi/graphql-java-codegen/blob/v5.2.0/plugins/gradle/graphql-java-codegen-gradle-plugin/src/main/resources/META-INF/gradle-plugins/io.github.kobylynskyi.graphql.codegen.properties

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kobylynskyi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant