diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 892dccfd3291fb2924bc39778174c465efd035d7..665cca8b51493c27606e5fca1b367174908dccf9 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -22,7 +22,7 @@ assignees: '' ## Your Environment and Setup -* **graphql-java-codegen**: *E.g.: 3.1.1* +* **graphql-java-codegen**: *E.g.: 4.0.0* * **Build tool**: *E.g.: Maven* * **Java tool**: *E.g.: Oracle 8u241* * **Mapping Config**: *E.g.:* diff --git a/build.gradle b/build.gradle index 1eb9da7e307deee76f8ba93d485abc0a4ab5f9a2..ab934e727449d9427a86eef6d074f56eafa64059 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ plugins { id "org.sonarqube" version "3.0" } -version = "3.1.2-SNAPSHOT" +version = "4.0.0" group = "io.github.kobylynskyi" repositories { diff --git a/plugins/gradle/README.md b/plugins/gradle/README.md index 70776ad46b8ac5e70d5854997a47b373a5b07fe5..e79a4b24e4fd2bec7cf81c28609bed1bb46a4377 100644 --- a/plugins/gradle/README.md +++ b/plugins/gradle/README.md @@ -18,7 +18,7 @@ ```groovy plugins { - id "io.github.kobylynskyi.graphql.codegen" version "3.1.1" + id "io.github.kobylynskyi.graphql.codegen" version "4.0.0" } ``` @@ -32,7 +32,7 @@ buildscript { } } dependencies { - classpath "io.github.kobylynskyi.graphql.codegen:graphql-codegen-gradle-plugin:3.1.1" + classpath "io.github.kobylynskyi.graphql.codegen:graphql-codegen-gradle-plugin:4.0.0" } } diff --git a/plugins/gradle/example-client/build.gradle b/plugins/gradle/example-client/build.gradle index d53381663d5de67b3bfaf7453f54a5e042c44cda..bd48f34a6c0c9e71c58ec2b9b17f5168985cf50a 100644 --- a/plugins/gradle/example-client/build.gradle +++ b/plugins/gradle/example-client/build.gradle @@ -7,7 +7,7 @@ plugins { // use the latest available version: // https://plugins.gradle.org/plugin/io.github.kobylynskyi.graphql.codegen - id "io.github.kobylynskyi.graphql.codegen" version "3.1.2-SNAPSHOT" + id "io.github.kobylynskyi.graphql.codegen" version "4.0.0" } mainClassName = "io.github.kobylynskyi.order.Application" @@ -22,7 +22,7 @@ dependencies { // use the latest available version: // https://search.maven.org/artifact/io.github.kobylynskyi/graphql-java-codegen - implementation "io.github.kobylynskyi:graphql-java-codegen:3.1.2-SNAPSHOT" + implementation "io.github.kobylynskyi:graphql-java-codegen:4.0.0" implementation "org.apache.httpcomponents:httpclient:4.5.13" implementation "javax.validation:validation-api:2.0.1.Final" diff --git a/plugins/gradle/example-server/build.gradle b/plugins/gradle/example-server/build.gradle index f5634be63ff33aaec5cabab81eef83a223bb6d9f..596e85a48ea9f8783d9371085501d1f3199fadb1 100644 --- a/plugins/gradle/example-server/build.gradle +++ b/plugins/gradle/example-server/build.gradle @@ -6,7 +6,7 @@ plugins { // // use the latest available version: // https://plugins.gradle.org/plugin/io.github.kobylynskyi.graphql.codegen - id "io.github.kobylynskyi.graphql.codegen" version "3.1.2-SNAPSHOT" + id "io.github.kobylynskyi.graphql.codegen" version "4.0.0" } mainClassName = "io.github.kobylynskyi.product.Application" diff --git a/plugins/gradle/graphql-java-codegen-gradle-plugin/build.gradle b/plugins/gradle/graphql-java-codegen-gradle-plugin/build.gradle index e7723a8a1f78f0ed13123c445c26e59d49811d35..fafbed14f6627698da07f0818e59ad0847435e82 100644 --- a/plugins/gradle/graphql-java-codegen-gradle-plugin/build.gradle +++ b/plugins/gradle/graphql-java-codegen-gradle-plugin/build.gradle @@ -17,7 +17,7 @@ apply plugin: "idea" apply plugin: "maven-publish" group = "io.github.kobylynskyi" -version = "3.1.2-SNAPSHOT" +version = "4.0.0" description = "Provides a task for generating Java code based on GraphQL schema" dependencies { diff --git a/plugins/maven/README.md b/plugins/maven/README.md index 151721e87fc9bd48add7d698f280ad09836757f5..03bff43b462a736c2288afbf5c4459e917de9160 100644 --- a/plugins/maven/README.md +++ b/plugins/maven/README.md @@ -21,7 +21,7 @@ io.github.kobylynskyi graphql-codegen-maven-plugin - 3.1.1 + 4.0.0 diff --git a/plugins/maven/example-client/pom.xml b/plugins/maven/example-client/pom.xml index 4bef949812e3ff934ca1363256b8442327211432..b660659c278f71b4b0829837a56206a114727be2 100644 --- a/plugins/maven/example-client/pom.xml +++ b/plugins/maven/example-client/pom.xml @@ -4,7 +4,7 @@ io.github.kobylynskyi graphql-codegen-maven-plugin-example-client - 3.1.2-SNAPSHOT + 4.0.0 graphql-codegen-maven-plugin-example-client diff --git a/plugins/maven/example-server/pom.xml b/plugins/maven/example-server/pom.xml index 6b73f661317baef1dd275173ffea7f7be174909d..4a508d76d5c9ce3a024c3ba3b78c69441cde1e20 100644 --- a/plugins/maven/example-server/pom.xml +++ b/plugins/maven/example-server/pom.xml @@ -4,7 +4,7 @@ io.github.kobylynskyi graphql-codegen-maven-plugin-example-server - 3.1.2-SNAPSHOT + 4.0.0 graphql-codegen-maven-plugin-example-server diff --git a/plugins/maven/graphql-java-codegen-maven-plugin/pom.xml b/plugins/maven/graphql-java-codegen-maven-plugin/pom.xml index c4db97350e42e9d6c4d0c2766717fdfdcece57c9..f18e4947941cb4b082c0b91a8f1be21918b333f7 100644 --- a/plugins/maven/graphql-java-codegen-maven-plugin/pom.xml +++ b/plugins/maven/graphql-java-codegen-maven-plugin/pom.xml @@ -4,7 +4,7 @@ io.github.kobylynskyi graphql-codegen-maven-plugin maven-plugin - 3.1.2-SNAPSHOT + 4.0.0-SNAPSHOT graphql-codegen-maven-plugin Provides a goal for generating Java code based on GraphQL schema @@ -36,7 +36,7 @@ scm:git:git@github.com:kobylynskyi/graphql-java-codegen.git https://github.com/kobylynskyi/graphql-java-codegen/tree/master/plugins/maven - v3.1.1 + v4.0.0 @@ -70,7 +70,7 @@ 1.11.2 1.6 - 3.1.2-SNAPSHOT + 4.0.0 diff --git a/plugins/sbt/README.md b/plugins/sbt/README.md index abc8fab442b7b58e57e545baa69ac4f6e121029c..768b7a13cf7c4eddf066c7f9c77750806b211dd2 100644 --- a/plugins/sbt/README.md +++ b/plugins/sbt/README.md @@ -33,7 +33,7 @@ enablePlugins(GraphQLCodegenPlugin) GraphQLCodegenPluginDependencies //default graphqlJavaCodegen is release -graphqlJavaCodegenVersion := Some("3.1.1") +graphqlJavaCodegenVersion := Some("4.0.0") graphqlSchemaPaths := List("src/main/resources/schema.graphqls") modelPackageName := Some("io.github.dreamylost.model") apiPackageName := Some("io.github.dreamylost.api") diff --git a/plugins/sbt/graphql-java-codegen-sbt-plugin/project/Dependencies.scala b/plugins/sbt/graphql-java-codegen-sbt-plugin/project/Dependencies.scala index 29ef605341065358f3ae1a64cbb7d5c6b349cb5f..61381ff235de92860ac28ad1220ac2635d985db1 100644 --- a/plugins/sbt/graphql-java-codegen-sbt-plugin/project/Dependencies.scala +++ b/plugins/sbt/graphql-java-codegen-sbt-plugin/project/Dependencies.scala @@ -13,7 +13,7 @@ object Dependencies { object Versions { lazy val scala212 = "2.12.12" lazy val scala211 = "2.11.12" - val codegen = "3.1.2-SNAPSHOT" + val codegen = "4.0.0" } import Versions._ diff --git a/plugins/sbt/graphql-java-codegen-sbt-plugin/src/main/scala/io/github/dreamylost/graphql/codegen/GraphQLCodegenPlugin.scala b/plugins/sbt/graphql-java-codegen-sbt-plugin/src/main/scala/io/github/dreamylost/graphql/codegen/GraphQLCodegenPlugin.scala index f278ee3c23ca327cb96e5e74d92c4cdbec3a1afa..15b073106c1633324c889561ef3eb52a01864f84 100644 --- a/plugins/sbt/graphql-java-codegen-sbt-plugin/src/main/scala/io/github/dreamylost/graphql/codegen/GraphQLCodegenPlugin.scala +++ b/plugins/sbt/graphql-java-codegen-sbt-plugin/src/main/scala/io/github/dreamylost/graphql/codegen/GraphQLCodegenPlugin.scala @@ -29,7 +29,7 @@ class GraphQLCodegenPlugin(configuration: Configuration, private[codegen] val co //override this by graphqlJavaCodegenVersion and javaxValidationApiVersion private val jValidation = "2.0.1.Final" - private val codegen = "3.1.2-SNAPSHOT" + private val codegen = "4.0.0" object GlobalImport extends GraphQLCodegenKeys { diff --git a/plugins/sbt/graphql-java-codegen-sbt-plugin/src/sbt-test/graphql-codegen-sbt-plugin/example-client/build.sbt b/plugins/sbt/graphql-java-codegen-sbt-plugin/src/sbt-test/graphql-codegen-sbt-plugin/example-client/build.sbt index 15c88dc76f4bf400a5d5a8e507bd7cad5363cb5e..d277122b3d2c435b4e61055d66d3a55856d677c1 100644 --- a/plugins/sbt/graphql-java-codegen-sbt-plugin/src/sbt-test/graphql-codegen-sbt-plugin/example-client/build.sbt +++ b/plugins/sbt/graphql-java-codegen-sbt-plugin/src/sbt-test/graphql-codegen-sbt-plugin/example-client/build.sbt @@ -17,12 +17,12 @@ libraryDependencies ++= Seq( enablePlugins(GraphQLCodegenPlugin) -graphqlJavaCodegenVersion := Some("3.1.2-SNAPSHOT") +graphqlJavaCodegenVersion := Some("4.0.0") GraphQLCodegenPluginDependencies //default graphqlJavaCodegen is release -//graphqlJavaCodegenVersion := Some("3.1.2-SNAPSHOT") +//graphqlJavaCodegenVersion := Some("4.0.0") graphqlSchemaPaths := List("src/main/resources/schema.graphqls") modelPackageName := Some("io.github.dreamylost.model") apiPackageName := Some("io.github.dreamylost.api") diff --git a/plugins/sbt/graphql-java-codegen-sbt-plugin/src/sbt-test/graphql-codegen-sbt-plugin/example-client/project/plugins.sbt b/plugins/sbt/graphql-java-codegen-sbt-plugin/src/sbt-test/graphql-codegen-sbt-plugin/example-client/project/plugins.sbt index ae4dfcfff773d3136fdf59c852c3455c4baaa1a3..3f9699b51c327f3783715aedef479d1c378f39f1 100644 --- a/plugins/sbt/graphql-java-codegen-sbt-plugin/src/sbt-test/graphql-codegen-sbt-plugin/example-client/project/plugins.sbt +++ b/plugins/sbt/graphql-java-codegen-sbt-plugin/src/sbt-test/graphql-codegen-sbt-plugin/example-client/project/plugins.sbt @@ -1 +1 @@ -addSbtPlugin("io.github.jxnu-liguobin" % "graphql-codegen-sbt-plugin" % "3.1.2-SNAPSHOT") +addSbtPlugin("io.github.jxnu-liguobin" % "graphql-codegen-sbt-plugin" % "4.0.0") diff --git a/plugins/sbt/graphql-java-codegen-sbt-plugin/src/sbt-test/graphql-codegen-sbt-plugin/simple/project/plugins.sbt b/plugins/sbt/graphql-java-codegen-sbt-plugin/src/sbt-test/graphql-codegen-sbt-plugin/simple/project/plugins.sbt index c43785cb6a59281a92e89459a403467bfdad15ff..d430ab18b0564071f141b5c80e5c61e7f85af9e8 100644 --- a/plugins/sbt/graphql-java-codegen-sbt-plugin/src/sbt-test/graphql-codegen-sbt-plugin/simple/project/plugins.sbt +++ b/plugins/sbt/graphql-java-codegen-sbt-plugin/src/sbt-test/graphql-codegen-sbt-plugin/simple/project/plugins.sbt @@ -1,4 +1,4 @@ -sys.props.get("plugin.version").orElse(Some("3.1.2-SNAPSHOT")) match { +sys.props.get("plugin.version").orElse(Some("4.0.0")) match { case Some(x) => addSbtPlugin("io.github.jxnu-liguobin" % "graphql-codegen-sbt-plugin" % x) case _ => sys.error("""|The system property 'plugin.version' is not defined. |Specify this property using the scriptedLaunchOpts -D.""".stripMargin) diff --git a/plugins/sbt/graphql-java-codegen-sbt-plugin/version.sbt b/plugins/sbt/graphql-java-codegen-sbt-plugin/version.sbt index b3c6fd5195a4aa38864009354e1ea1b4cbdedcaa..ac82d4ddad6d1771c325237b9d74639daa5c84c3 100644 --- a/plugins/sbt/graphql-java-codegen-sbt-plugin/version.sbt +++ b/plugins/sbt/graphql-java-codegen-sbt-plugin/version.sbt @@ -1 +1 @@ -version in ThisBuild := "3.1.2-SNAPSHOT" +version in ThisBuild := "4.0.0"