This repository was archived by the owner on Dec 19, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +28
-22
lines changed
example-graphql-subscription
graphql-spring-boot-autoconfigure
src/main/java/com/oembedler/moon/graphql/boot
graphql-spring-boot-test-autoconfigure Expand file tree Collapse file tree 9 files changed +28
-22
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ dist: trusty # https://stackoverflow.com/questions/38912714/travis-failing-junit
33jdk :
44 - oraclejdk8
55before_install :
6- - chmod +x gradlew
6+ - chmod +x travis-build.sh
77script :
8- - ./gradlew check;
8+ - ./travis-build.sh
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ subprojects {
4141 repositories {
4242 mavenLocal()
4343 jcenter()
44- maven { url " http://dl.bintray.com/oembedler/maven " }
44+ maven { url " http://dl.bintray.com/graphql-java-kickstart/releases " }
4545 maven { url " http://repo.spring.io/libs-milestone" }
4646 }
4747
@@ -133,11 +133,11 @@ subprojects {
133133
134134 bintray {
135135 user = System . env. BINTRAY_USER ?: project. findProperty(' BINTRAY_USER' ) ?: ' '
136- key = System . env. BINTRAY_KEY ?: project. findProperty(' BINTRAY_KEY ' ) ?: ' '
136+ key = System . env. BINTRAY_PASS ?: project. findProperty(' BINTRAY_PASS ' ) ?: ' '
137137 publications = [' mainProjectPublication' ]
138138 publish = true
139139 pkg {
140- repo = ' maven '
140+ repo = ' releases '
141141 name = PROJECT_NAME
142142 desc = PROJECT_DESC
143143 licenses = [PROJECT_LICENSE ]
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ repositories {
1111dependencies {
1212 compile(project(" :graphql-spring-boot-starter" ))
1313 compile(project(" :graphiql-spring-boot-starter" ))
14- compile " com.graphql-java:graphql-java-tools:$LIB_GRAPHQL_JAVA_TOOLS_VER "
14+ compile " com.graphql-java-kickstart :graphql-java-tools:$LIB_GRAPHQL_JAVA_TOOLS_VER "
1515
1616 compile " io.reactivex.rxjava2:rxjava:2.1.5"
1717
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ repositories {
2929dependencies {
3030 compile(project(" :graphql-spring-boot-starter" ))
3131 compile(project(" :graphiql-spring-boot-starter" ))
32- compile " com.graphql-java:graphql-java-tools:$LIB_GRAPHQL_JAVA_TOOLS_VER "
32+ compile " com.graphql-java-kickstart :graphql-java-tools:$LIB_GRAPHQL_JAVA_TOOLS_VER "
3333
3434 compile(" org.springframework.boot:spring-boot-starter-web:$LIB_SPRING_BOOT_VER " )
3535
Original file line number Diff line number Diff line change 1818#
1919
2020PROJECT_VERSION = 5.0.3
21- PROJECT_GROUP = com.graphql-java
21+ PROJECT_GROUP = com.graphql-java-kickstart
2222PROJECT_NAME = graphql-spring-boot
2323PROJECT_DESC = GraphQL Spring Framework Boot
24- PROJECT_GIT_REPO_URL = https://github.com/graphql-java/graphql-spring-boot
24+ PROJECT_GIT_REPO_URL = https://github.com/graphql-java-kickstart /graphql-spring-boot
2525PROJECT_LICENSE = MIT
26- PROJECT_LICENSE_URL = https://github.com/graphql-java/spring-boot-graphql/blob/master/LICENSE.md
26+ PROJECT_LICENSE_URL = https://github.com/graphql-java-kickstart /spring-boot-graphql/blob/master/LICENSE.md
2727PROJECT_DEV_ID = apottere
2828PROJECT_DEV_NAME = Andrew Potter
2929
@@ -39,9 +39,9 @@ TARGET_COMPATIBILITY = 1.8
3939LIB_GRAPHQL_JAVA_VER = 9.2
4040LIB_JUNIT_VER = 4.12
4141LIB_SPRING_CORE_VER = 5.0.4.RELEASE
42- LIB_SPRING_BOOT_VER = 2.0.4 .RELEASE
43- LIB_GRAPHQL_SERVLET_VER = 6.1.3
44- LIB_GRAPHQL_JAVA_TOOLS_VER = 5.2.4
42+ LIB_SPRING_BOOT_VER = 2.0.5 .RELEASE
43+ LIB_GRAPHQL_SERVLET_VER = 6.1.4
44+ LIB_GRAPHQL_JAVA_TOOLS_VER = 5.3.0
4545LIB_COMMONS_IO_VER = 2.6
4646
4747GRADLE_WRAPPER_VER = 4.7
Original file line number Diff line number Diff line change @@ -21,16 +21,15 @@ dependencies {
2121 compile " org.springframework.boot:spring-boot-configuration-processor:$LIB_SPRING_BOOT_VER "
2222 compile " org.springframework.boot:spring-boot-autoconfigure:$LIB_SPRING_BOOT_VER "
2323 compile " org.springframework.boot:spring-boot-starter-websocket:$LIB_SPRING_BOOT_VER "
24- compile " com.graphql-java:graphql-java-servlet:$LIB_GRAPHQL_SERVLET_VER "
24+ compile " com.graphql-java-kickstart :graphql-java-servlet:$LIB_GRAPHQL_SERVLET_VER "
2525 compile " commons-io:commons-io:$LIB_COMMONS_IO_VER "
26-
26+ compile " com.graphql-java-kickstart:graphql-java-tools:$LIB_GRAPHQL_JAVA_TOOLS_VER "
27+
2728 compileOnly " org.springframework.boot:spring-boot-starter-web:$LIB_SPRING_BOOT_VER "
28- compileOnly " com.graphql-java:graphql-java-tools:$LIB_GRAPHQL_JAVA_TOOLS_VER "
2929
3030 testCompile " com.graphql-java:graphql-java:$LIB_GRAPHQL_JAVA_VER "
3131 testCompile " org.springframework.boot:spring-boot-starter-web:$LIB_SPRING_BOOT_VER "
3232 testCompile " org.springframework.boot:spring-boot-starter-test:$LIB_SPRING_BOOT_VER "
33- testCompile " com.graphql-java:graphql-java-tools:$LIB_GRAPHQL_JAVA_TOOLS_VER "
3433}
3534
3635compileJava. dependsOn(processResources)
Original file line number Diff line number Diff line change 44import com .fasterxml .jackson .databind .ObjectMapper ;
55import com .fasterxml .jackson .datatype .jdk8 .Jdk8Module ;
66import com .fasterxml .jackson .module .kotlin .KotlinModule ;
7- import graphql .language .FieldDefinition ;
87import graphql .schema .GraphQLScalarType ;
98import graphql .schema .GraphQLSchema ;
109import graphql .servlet .GraphQLSchemaProvider ;
@@ -63,19 +62,20 @@ public SchemaParser schemaParser(
6362
6463 if (options != null ) {
6564 builder .options (options );
66- }else if (perFieldObjectMapperProvider .isPresent ()) {
65+ } else if (perFieldObjectMapperProvider .isPresent ()) {
6766 final SchemaParserOptions .Builder optionsBuilder =
6867 newOptions ().objectMapperProvider (perFieldObjectMapperProvider .get ());
6968 builder .options (optionsBuilder .build ());
7069 }
7170
72- return builder .resolvers (resolvers )
71+ return builder
72+ .resolvers (resolvers )
7373 .build ();
7474 }
7575
7676 @ Bean
7777 @ ConditionalOnMissingBean
78- @ ConditionalOnProperty (value = "graphql.tools.use-default-objectmapper" , havingValue = "true" , matchIfMissing = true )
78+ @ ConditionalOnProperty (value = "graphql.tools.use-default-objectmapper" , havingValue = "true" , matchIfMissing = true )
7979 public PerFieldObjectMapperProvider perFieldObjectMapperProvider (ObjectMapper objectMapper ) {
8080 objectMapper
8181 .registerModule (new Jdk8Module ())
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ dependencies {
2222 compile(" org.springframework.boot:spring-boot-starter-test:$LIB_SPRING_BOOT_VER " )
2323 compile(project(" :graphql-spring-boot-test" ))
2424 compile(project(" :graphql-spring-boot-starter" ))
25- compile(" com.graphql-java:graphql-java-tools:$LIB_GRAPHQL_JAVA_TOOLS_VER " )
25+ compile(" com.graphql-java-kickstart :graphql-java-tools:$LIB_GRAPHQL_JAVA_TOOLS_VER " )
2626}
2727
2828compileJava. dependsOn(processResources)
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -ev
3+
4+ if [ " ${TRAVIS_PULL_REQUEST} " = " false" ] && [ " ${TRAVIS_BRANCH} " = " master" ] && [ " ${RELEASE} " = " true" ]; then
5+ echo " Deploying release to Bintray"
6+ ./gradlew clean assemble && ./gradlew check --info && ./gradlew bintrayUpload -x check --info
7+ fi
You can’t perform that action at this time.
0 commit comments