提交 61d8fd0c 编写于 作者: B Bogdan Kobylynskyi

Prepare for next dev iteration - 4.1.4-SNAPSHOT

上级 a85ed3dc
......@@ -9,7 +9,7 @@ plugins {
id "org.sonarqube" version "3.1.1"
}
version = "4.1.3"
version = "4.1.4-SNAPSHOT"
group = "io.github.kobylynskyi"
repositories {
......
......@@ -17,6 +17,7 @@
| `generateParameterizedFieldsResolvers` | Boolean | True | Specifies whether separate `Resolver` interface for parametrized fields should be generated. If `false`, then add parametrized field to the type definition and ignore field parameters. If `true` then separate `Resolver` interface for parametrized fields will be generated. |
| `generateImmutableModels` | Boolean | False | Specifies whether generated model classes should be immutable. |
| `generateToString` | Boolean | False | Specifies whether generated model classes should have toString method defined. |
| `addGeneratedAnnotation` | Boolean | True | Specifies whether generated classes should have `@Generated` annotation. |
| `apiNamePrefix` | String | Empty | Sets the prefix for GraphQL api classes (query, mutation, subscription). |
| `apiNameSuffix` | String | `Resolver` | Sets the suffix for GraphQL api classes (query, mutation, subscription). |
| `apiInterfaceStrategy` | *See<br>[ApiInterfaceStrategy](#option-apiinterfacestrategy)* | `INTERFACE_PER_OPERATION` | *See [ApiInterfaceStrategy](#option-apiinterfacestrategy)* |
......@@ -48,7 +49,7 @@
| `parametrizedInputSuffix` | String | ParametrizedInput | Sets the suffix for `ParametrizedInput` classes. |
| `parentInterfaces` | *See<br>[parentInterfaces](#option-parentinterfaces)* | Empty | Block to define parent interfaces for generated interfaces (query / mutation / subscription / type resolver). *See [parentInterfaces](#option-parentinterfaces)* |
| `responseProjectionMaxDepth` | Integer | 3 | Sets max depth when use `all$()` which for facilitating the construction of projection automatically, the fields on all projections are provided when it be invoked. This is a global configuration, of course, you can use `all$(max)` to set for each method. For self recursive types, too big depth may result in a large number of returned data!|
| `generatedLanguage` | Enum | GeneratedLanguage.JAVA | Choose which language you want to generate, Java,Scala,Kotlin were supported. Note that due to language features, there are slight differences in default values between languages.|
| `generatedLanguage` | Enum | GeneratedLanguage.JAVA | Choose which language you want to generate, Java,Scala,Kotlin were supported. Note that due to language features, there are slight differences in default values between languages.|
### Option `graphqlSchemas`
......
......@@ -4,11 +4,11 @@ import io.github.kobylynskyi.graphql.codegen.gradle.GraphQLCodegenGradleTask
plugins {
id 'java'
id "org.jetbrains.kotlin.jvm" version "1.3.71"
id "io.github.kobylynskyi.graphql.codegen" version "4.1.3"
id "io.github.kobylynskyi.graphql.codegen" version "4.1.4-SNAPSHOT"
}
group 'io.github.dreamylost'
version '4.1.3'
version '4.1.4-SNAPSHOT'
sourceCompatibility = 1.8
......@@ -27,7 +27,7 @@ repositories {
dependencies {
implementation "io.github.kobylynskyi:graphql-java-codegen:4.1.3"
implementation "io.github.kobylynskyi:graphql-java-codegen:4.1.4-SNAPSHOT"
implementation "javax.validation:validation-api:2.0.1.Final"
implementation "com.squareup.okhttp3:okhttp:4.2.2"
implementation "com.fasterxml.jackson.core:jackson-core:2.12.0"
......
......@@ -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 "4.1.3"
id "io.github.kobylynskyi.graphql.codegen" version "4.1.4-SNAPSHOT"
}
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:4.1.3"
implementation "io.github.kobylynskyi:graphql-java-codegen:4.1.4-SNAPSHOT"
implementation "org.apache.httpcomponents:httpclient:4.5.13"
implementation "javax.validation:validation-api:2.0.1.Final"
......
......@@ -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 "4.1.3"
id "io.github.kobylynskyi.graphql.codegen" version "4.1.4-SNAPSHOT"
}
mainClassName = "io.github.kobylynskyi.product.Application"
......
......@@ -17,7 +17,7 @@ apply plugin: "idea"
apply plugin: "maven-publish"
group = "io.github.kobylynskyi"
version = "4.1.3"
version = "4.1.4-SNAPSHOT"
description = "Provides a task for generating Java code based on GraphQL schema"
dependencies {
......
......@@ -4,7 +4,7 @@
<groupId>io.github.kobylynskyi</groupId>
<artifactId>graphql-codegen-maven-plugin-example-client</artifactId>
<version>4.1.3</version>
<version>4.1.4-SNAPSHOT</version>
<name>graphql-codegen-maven-plugin-example-client</name>
<build>
......
......@@ -4,7 +4,7 @@
<groupId>io.github.kobylynskyi</groupId>
<artifactId>graphql-codegen-maven-plugin-example-server</artifactId>
<version>4.1.3</version>
<version>4.1.4-SNAPSHOT</version>
<name>graphql-codegen-maven-plugin-example-server</name>
<build>
......
......@@ -70,7 +70,7 @@
<version.maven-scm-provider-gitexe>1.11.2</version.maven-scm-provider-gitexe>
<version.maven-gpg-plugin>1.6</version.maven-gpg-plugin>
<version.graphql-java-codegen>4.1.3</version.graphql-java-codegen>
<version.graphql-java-codegen>4.1.4-SNAPSHOT</version.graphql-java-codegen>
</properties>
<dependencies>
......
addSbtPlugin("io.github.jxnu-liguobin" % "graphql-codegen-sbt-plugin" % "4.1.3")
addSbtPlugin("io.github.jxnu-liguobin" % "graphql-codegen-sbt-plugin" % "4.1.4-SNAPSHOT")
......@@ -22,7 +22,7 @@ graphqlJavaCodegenVersion := Some((version in Scope.ThisScope).value)
GraphQLCodegenPluginDependencies
//default graphqlJavaCodegen is release
//graphqlJavaCodegenVersion := Some("4.1.3")
//graphqlJavaCodegenVersion := Some("4.1.4-SNAPSHOT")
graphqlSchemaPaths := List("src/main/resources/schema.graphqls")
modelPackageName := Some("io.github.dreamylost.model")
apiPackageName := Some("io.github.dreamylost.api")
......
addSbtPlugin("io.github.jxnu-liguobin" % "graphql-codegen-sbt-plugin" % "4.1.3")
addSbtPlugin("io.github.jxnu-liguobin" % "graphql-codegen-sbt-plugin" % "4.1.4-SNAPSHOT")
sys.props.get("plugin.version").orElse(Some("4.1.3")) match {
sys.props.get("plugin.version").orElse(Some("4.1.4-SNAPSHOT")) 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)
......
version in ThisBuild := "4.1.3"
version in ThisBuild := "4.1.4-SNAPSHOT"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册