Skip to content

Commit 97a4867

Browse files
committed
Bump version to 1.1
1 parent 100f81a commit 97a4867

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This Gradle plugin is able to generate the following classes based on your Graph
1717
### Plugin Setup
1818

1919
plugins {
20-
id "io.github.kobylynskyi.graphql.codegen" version "1.0"
20+
id "io.github.kobylynskyi.graphql.codegen" version "1.1"
2121
}
2222

2323
Using [legacy plugin application](https://docs.gradle.org/current/userguide/plugins.html#sec:old_plugin_application):
@@ -29,7 +29,7 @@ Using [legacy plugin application](https://docs.gradle.org/current/userguide/plug
2929
}
3030
}
3131
dependencies {
32-
classpath "io.github.kobylynskyi.graphql.codegen:graphql-codegen-gradle-plugin:1.0"
32+
classpath "io.github.kobylynskyi.graphql.codegen:graphql-codegen-gradle-plugin:1.1"
3333
}
3434
}
3535

@@ -45,6 +45,7 @@ Using [legacy plugin application](https://docs.gradle.org/current/userguide/plug
4545
packageName = "com.example.graphql.model"
4646
customTypesMapping = [
4747
DateTime: "org.joda.time.DateTime"
48+
Price.amount: "java.math.BigDecimal"
4849
]
4950
modelNameSuffix = "TO"
5051
}
@@ -67,7 +68,7 @@ Using [legacy plugin application](https://docs.gradle.org/current/userguide/plug
6768
| graphqlSchemaPaths | List(String) | None | GraphQL schema locations. You can supply multiple paths to GraphQL schemas. |
6869
| packageName | String | Empty | Java package for generated classes. |
6970
| outputDir | String | None | The output target directory into which code will be generated. |
70-
| customTypesMapping | Map(String,String) | Empty | Map of (GraphQL Schema Type) to (Java Type). Can be used to supply custom mappings for scalars. |
71+
| customTypesMapping | Map(String,String) | Empty | Can be used to supply custom mappings for scalars. <br/> Supports:<br/> * Map of (GraphqlObjectName.fieldName) to (JavaType) <br/> * Map of (GraphqlType) to (JavaType) |
7172
| modelNamePrefix | String | Empty | Sets the prefix for GraphQL model classes (type, input, interface, enum, union). |
7273
| modelNameSuffix | String | Empty | Sets the suffix for GraphQL model classes (type, input, interface, enum, union). |
7374
| apiPackage | String | Empty | Java package for generated api classes (Query, Mutation, Subscription). |

graphql-codegen-gradle-plugin-example/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugins {
1010
id "idea"
1111
id "application"
1212
id "net.ltgt.apt" version "0.20"
13-
id "io.github.kobylynskyi.graphql.codegen" version "1.0"
13+
id "io.github.kobylynskyi.graphql.codegen" version "1.1"
1414
}
1515

1616
mainClassName = "io.github.kobylynskyi.bikeshop.Application"

graphql-codegen-gradle-plugin/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ apply plugin: "idea"
1616
apply plugin: "maven-publish"
1717

1818
group = "io.github.kobylynskyi"
19-
version = "1.0"
19+
version = "1.1"
2020
description = "Provides a task for generating Java code based on GraphQL schema"
2121

2222
dependencies {
2323
compile gradleApi()
2424

25-
compile 'io.github.kobylynskyi:graphql-java-codegen:1.0'
25+
compile 'io.github.kobylynskyi:graphql-java-codegen:1.1'
2626

2727
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.1'
2828
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.5.1'

0 commit comments

Comments
 (0)