From a806bb9056df64279412a5075b105a0121be5cf1 Mon Sep 17 00:00:00 2001 From: Ivan Savytskyi Date: Tue, 13 Nov 2018 16:15:50 -0500 Subject: [PATCH] Prepare for 1.0.0-alpha3 release (#1108) * Prepare for 1.0.0-alpha3 release * Prepare next development version --- .../input_object_type/type/ReviewInput.java | 9 ++++++--- .../mutation_create_review/type/ReviewInput.java | 9 ++++++--- .../CreateReviewForEpisodeMutation.java | 3 ++- .../type/ReviewInput.java | 9 ++++++--- apollo-sample/build.gradle | 2 +- gradle/dependencies.gradle | 14 +++++++------- 6 files changed, 28 insertions(+), 18 deletions(-) diff --git a/apollo-compiler/src/test/graphql/com/example/input_object_type/type/ReviewInput.java b/apollo-compiler/src/test/graphql/com/example/input_object_type/type/ReviewInput.java index 06e87da475c..8c279164193 100644 --- a/apollo-compiler/src/test/graphql/com/example/input_object_type/type/ReviewInput.java +++ b/apollo-compiler/src/test/graphql/com/example/input_object_type/type/ReviewInput.java @@ -473,7 +473,8 @@ public Builder stars(int stars) { /** * for test purpose only */ - public Builder nullableIntFieldWithDefaultValue(@Nullable Integer nullableIntFieldWithDefaultValue) { + public Builder nullableIntFieldWithDefaultValue( + @Nullable Integer nullableIntFieldWithDefaultValue) { this.nullableIntFieldWithDefaultValue = Input.fromNullable(nullableIntFieldWithDefaultValue); return this; } @@ -601,7 +602,8 @@ public Builder capitalizedField(@Nullable String capitalizedField) { /** * for test purpose only */ - public Builder nullableIntFieldWithDefaultValueInput(@NotNull Input nullableIntFieldWithDefaultValue) { + public Builder nullableIntFieldWithDefaultValueInput( + @NotNull Input nullableIntFieldWithDefaultValue) { this.nullableIntFieldWithDefaultValue = Utils.checkNotNull(nullableIntFieldWithDefaultValue, "nullableIntFieldWithDefaultValue == null"); return this; } @@ -705,7 +707,8 @@ public Builder listOfListOfCustomInput(@NotNull Input>> listOfLi /** * for test purpose only */ - public Builder listOfListOfObjectInput(@NotNull Input>> listOfListOfObject) { + public Builder listOfListOfObjectInput( + @NotNull Input>> listOfListOfObject) { this.listOfListOfObject = Utils.checkNotNull(listOfListOfObject, "listOfListOfObject == null"); return this; } diff --git a/apollo-compiler/src/test/graphql/com/example/mutation_create_review/type/ReviewInput.java b/apollo-compiler/src/test/graphql/com/example/mutation_create_review/type/ReviewInput.java index 6be6a4ac733..525709315fe 100644 --- a/apollo-compiler/src/test/graphql/com/example/mutation_create_review/type/ReviewInput.java +++ b/apollo-compiler/src/test/graphql/com/example/mutation_create_review/type/ReviewInput.java @@ -473,7 +473,8 @@ public Builder stars(int stars) { /** * for test purpose only */ - public Builder nullableIntFieldWithDefaultValue(@Nullable Integer nullableIntFieldWithDefaultValue) { + public Builder nullableIntFieldWithDefaultValue( + @Nullable Integer nullableIntFieldWithDefaultValue) { this.nullableIntFieldWithDefaultValue = Input.fromNullable(nullableIntFieldWithDefaultValue); return this; } @@ -601,7 +602,8 @@ public Builder capitalizedField(@Nullable String capitalizedField) { /** * for test purpose only */ - public Builder nullableIntFieldWithDefaultValueInput(@NotNull Input nullableIntFieldWithDefaultValue) { + public Builder nullableIntFieldWithDefaultValueInput( + @NotNull Input nullableIntFieldWithDefaultValue) { this.nullableIntFieldWithDefaultValue = Utils.checkNotNull(nullableIntFieldWithDefaultValue, "nullableIntFieldWithDefaultValue == null"); return this; } @@ -705,7 +707,8 @@ public Builder listOfListOfCustomInput(@NotNull Input>> listOfLi /** * for test purpose only */ - public Builder listOfListOfObjectInput(@NotNull Input>> listOfListOfObject) { + public Builder listOfListOfObjectInput( + @NotNull Input>> listOfListOfObject) { this.listOfListOfObject = Utils.checkNotNull(listOfListOfObject, "listOfListOfObject == null"); return this; } diff --git a/apollo-compiler/src/test/graphql/com/example/mutation_create_review_semantic_naming/CreateReviewForEpisodeMutation.java b/apollo-compiler/src/test/graphql/com/example/mutation_create_review_semantic_naming/CreateReviewForEpisodeMutation.java index 92823bd80d6..63253448612 100644 --- a/apollo-compiler/src/test/graphql/com/example/mutation_create_review_semantic_naming/CreateReviewForEpisodeMutation.java +++ b/apollo-compiler/src/test/graphql/com/example/mutation_create_review_semantic_naming/CreateReviewForEpisodeMutation.java @@ -66,7 +66,8 @@ public String queryDocument() { } @Override - public Optional wrapData(CreateReviewForEpisodeMutation.Data data) { + public Optional wrapData( + CreateReviewForEpisodeMutation.Data data) { return Optional.fromNullable(data); } diff --git a/apollo-compiler/src/test/graphql/com/example/mutation_create_review_semantic_naming/type/ReviewInput.java b/apollo-compiler/src/test/graphql/com/example/mutation_create_review_semantic_naming/type/ReviewInput.java index 6009f0415c2..86a2eda018b 100644 --- a/apollo-compiler/src/test/graphql/com/example/mutation_create_review_semantic_naming/type/ReviewInput.java +++ b/apollo-compiler/src/test/graphql/com/example/mutation_create_review_semantic_naming/type/ReviewInput.java @@ -472,7 +472,8 @@ public Builder stars(int stars) { /** * for test purpose only */ - public Builder nullableIntFieldWithDefaultValue(@Nullable Integer nullableIntFieldWithDefaultValue) { + public Builder nullableIntFieldWithDefaultValue( + @Nullable Integer nullableIntFieldWithDefaultValue) { this.nullableIntFieldWithDefaultValue = Input.fromNullable(nullableIntFieldWithDefaultValue); return this; } @@ -600,7 +601,8 @@ public Builder capitalizedField(@Nullable String capitalizedField) { /** * for test purpose only */ - public Builder nullableIntFieldWithDefaultValueInput(@NotNull Input nullableIntFieldWithDefaultValue) { + public Builder nullableIntFieldWithDefaultValueInput( + @NotNull Input nullableIntFieldWithDefaultValue) { this.nullableIntFieldWithDefaultValue = Utils.checkNotNull(nullableIntFieldWithDefaultValue, "nullableIntFieldWithDefaultValue == null"); return this; } @@ -704,7 +706,8 @@ public Builder listOfListOfCustomInput(@NotNull Input>> listOf /** * for test purpose only */ - public Builder listOfListOfObjectInput(@NotNull Input>> listOfListOfObject) { + public Builder listOfListOfObjectInput( + @NotNull Input>> listOfListOfObject) { this.listOfListOfObject = Utils.checkNotNull(listOfListOfObject, "listOfListOfObject == null"); return this; } diff --git a/apollo-sample/build.gradle b/apollo-sample/build.gradle index b7534362ee2..f9961528027 100644 --- a/apollo-sample/build.gradle +++ b/apollo-sample/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.apolloReleaseVersion = '1.0.0-alpha' + ext.apolloReleaseVersion = '1.0.0-alpha3' dependencies { classpath dep.androidPlugin diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle index 95b55940820..00187fb4cdd 100644 --- a/gradle/dependencies.gradle +++ b/gradle/dependencies.gradle @@ -1,8 +1,8 @@ def versions = [ - apolloVersion : '1.0.0-alpha', + apolloVersion : '1.0.0-alpha3', cacheVersion : '2.0.2', - okHttpVersion : '3.8.1', - kotlinVersion : '1.1.2-3', + okHttpVersion : '3.11.0', + kotlinVersion : '1.3.0', supportLibVersion : '25.3.1', mockito : '1.9.5', testRunner : '0.5', @@ -20,7 +20,7 @@ ext.androidConfig = [ ] ext.dep = [ - androidPlugin : 'com.android.tools.build:gradle:2.3.1', + androidPlugin : 'com.android.tools.build:gradle:2.3.3', apolloPlugin : "com.apollographql.apollo:apollo-gradle-plugin:$versions.apolloVersion", apolloAndroidSupport : "com.apollographql.apollo:apollo-android-support:$versions.apolloVersion", apolloRuntime : "com.apollographql.apollo:apollo-runtime:$versions.apolloVersion", @@ -29,10 +29,10 @@ ext.dep = [ apolloHttpCache : "com.apollographql.apollo:apollo-http-cache:$versions.apolloVersion", supportAnnotations : "com.android.support:support-annotations:$versions.supportLibVersion", recyclerView : "com.android.support:recyclerview-v7:$versions.supportLibVersion", - compiletesting : 'com.google.testing.compile:compile-testing:0.11', + compiletesting : 'com.google.testing.compile:compile-testing:0.15', cache : "com.nytimes.android:cache:$versions.cacheVersion", - javaPoet : 'com.squareup:javapoet:1.8.0', - moshi : 'com.squareup.moshi:moshi:1.6.0', + javaPoet : 'com.squareup:javapoet:1.11.1', + moshi : 'com.squareup.moshi:moshi:1.8.0', rxjava : 'io.reactivex:rxjava:1.2.9', rxjava2 : 'io.reactivex.rxjava2:rxjava:2.0.5', rxandroid : 'io.reactivex.rxjava2:rxandroid:2.0.1',