diff --git a/common/reactive-grpc-benchmarks/pom.xml b/common/reactive-grpc-benchmarks/pom.xml index 90995369..2a1036b8 100644 --- a/common/reactive-grpc-benchmarks/pom.xml +++ b/common/reactive-grpc-benchmarks/pom.xml @@ -12,7 +12,7 @@ com.salesforce.servicelibs reactive-grpc - 0.11.0-SNAPSHOT + 1.0.0-SNAPSHOT ../../pom.xml 4.0.0 diff --git a/common/reactive-grpc-common/pom.xml b/common/reactive-grpc-common/pom.xml index a866031b..14d89ab3 100644 --- a/common/reactive-grpc-common/pom.xml +++ b/common/reactive-grpc-common/pom.xml @@ -12,7 +12,7 @@ com.salesforce.servicelibs reactive-grpc - 0.11.0-SNAPSHOT + 1.0.0-SNAPSHOT ../../pom.xml 4.0.0 diff --git a/common/reactive-grpc-gencommon/pom.xml b/common/reactive-grpc-gencommon/pom.xml index a9c292c2..c5313910 100644 --- a/common/reactive-grpc-gencommon/pom.xml +++ b/common/reactive-grpc-gencommon/pom.xml @@ -5,7 +5,7 @@ reactive-grpc com.salesforce.servicelibs - 0.11.0-SNAPSHOT + 1.0.0-SNAPSHOT ../../pom.xml 4.0.0 diff --git a/demos/gradle/build.gradle b/demos/gradle/build.gradle index 89a12e60..f715caf7 100644 --- a/demos/gradle/build.gradle +++ b/demos/gradle/build.gradle @@ -7,7 +7,7 @@ apply plugin: 'com.google.protobuf' sourceCompatibility = 1.8 -def reactiveGrpcVersion = '0.9.1-SNAPSHOT' +def reactiveGrpcVersion = '1.0.0-SNAPSHOT' def grpcVersion = '1.12.0' def protobufVersion = '3.4.0' @@ -21,7 +21,7 @@ buildscript { maven { url "https://plugins.gradle.org/m2/" } } dependencies { - classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.3' + classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.10' } } @@ -48,14 +48,14 @@ protobuf { artifact = "io.grpc:protoc-gen-grpc-java:${grpcVersion}" } rxgrpc { - artifact = "com.salesforce.servicelibs:rxgrpc:${reactiveGrpcVersion}:jdk8@jar" + artifact = "com.salesforce.servicelibs:rxgrpc:${reactiveGrpcVersion}" } reactor { - artifact = "com.salesforce.servicelibs:reactor-grpc:${reactiveGrpcVersion}:jdk8@jar" + artifact = "com.salesforce.servicelibs:reactor-grpc:${reactiveGrpcVersion}" } } generateProtoTasks { - ofSourceSet('main')*.plugins { + all()*.plugins { grpc { } rxgrpc {} reactor {} diff --git a/demos/gradle/gradle/wrapper/gradle-wrapper.jar b/demos/gradle/gradle/wrapper/gradle-wrapper.jar index 4b2fbcfc..5c2d1cf0 100644 Binary files a/demos/gradle/gradle/wrapper/gradle-wrapper.jar and b/demos/gradle/gradle/wrapper/gradle-wrapper.jar differ diff --git a/demos/gradle/gradle/wrapper/gradle-wrapper.properties b/demos/gradle/gradle/wrapper/gradle-wrapper.properties index 21dd1895..ef9a9e05 100644 --- a/demos/gradle/gradle/wrapper/gradle-wrapper.properties +++ b/demos/gradle/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,5 @@ -#Sun Nov 26 20:14:42 PST 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-5.6-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-rc-2-all.zip diff --git a/demos/gradle/gradlew b/demos/gradle/gradlew index 4453ccea..83f2acfd 100755 --- a/demos/gradle/gradlew +++ b/demos/gradle/gradlew @@ -1,5 +1,21 @@ #!/usr/bin/env sh +# +# Copyright 2015 the original author or authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + ############################################################################## ## ## Gradle start up script for UN*X @@ -28,16 +44,16 @@ APP_NAME="Gradle" APP_BASE_NAME=`basename "$0"` # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS="" +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD="maximum" -warn ( ) { +warn () { echo "$*" } -die ( ) { +die () { echo echo "$*" echo @@ -109,8 +125,8 @@ if $darwin; then GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" fi -# For Cygwin, switch paths to Windows format before running java -if $cygwin ; then +# For Cygwin or MSYS, switch paths to Windows format before running java +if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then APP_HOME=`cygpath --path --mixed "$APP_HOME"` CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` JAVACMD=`cygpath --unix "$JAVACMD"` @@ -155,7 +171,7 @@ if $cygwin ; then fi # Escape application args -save ( ) { +save () { for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done echo " " } diff --git a/demos/gradle/gradlew.bat b/demos/gradle/gradlew.bat index e95643d6..24467a14 100644 --- a/demos/gradle/gradlew.bat +++ b/demos/gradle/gradlew.bat @@ -1,3 +1,19 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + @if "%DEBUG%" == "" @echo off @rem ########################################################################## @rem @@ -14,7 +30,7 @@ set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME% @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS= +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" @rem Find java.exe if defined JAVA_HOME goto findJavaFromJavaHome diff --git a/demos/reactive-grpc-chat/rxjava-chat-android/app/build.gradle b/demos/reactive-grpc-chat/rxjava-chat-android/app/build.gradle index a6001955..d05a0719 100644 --- a/demos/reactive-grpc-chat/rxjava-chat-android/app/build.gradle +++ b/demos/reactive-grpc-chat/rxjava-chat-android/app/build.gradle @@ -32,7 +32,7 @@ protobuf { plugins { javalite { artifact = "com.google.protobuf:protoc-gen-javalite:3.0.0" } grpc { artifact = "io.grpc:protoc-gen-grpc-java:${grpcVersion}" } - rxgrpc { artifact = "com.salesforce.servicelibs:rxgrpc:${reactiveGrpcVersion}:jdk8@jar" } + rxgrpc { artifact = "com.salesforce.servicelibs:rxgrpc:${reactiveGrpcVersion}" } } generateProtoTasks { all().each { task -> diff --git a/demos/reactive-grpc-chat/rxjava-chat-android/build.gradle b/demos/reactive-grpc-chat/rxjava-chat-android/build.gradle index f138e3be..51c6700b 100644 --- a/demos/reactive-grpc-chat/rxjava-chat-android/build.gradle +++ b/demos/reactive-grpc-chat/rxjava-chat-android/build.gradle @@ -10,7 +10,7 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:3.1.3' - classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.5' + classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.10' // NOTE: Do not place your application dependencies here; they belong diff --git a/demos/reactive-grpc-chat/rxjava-chat-android/gradle/wrapper/gradle-wrapper.jar b/demos/reactive-grpc-chat/rxjava-chat-android/gradle/wrapper/gradle-wrapper.jar index 7a3265ee..5c2d1cf0 100644 Binary files a/demos/reactive-grpc-chat/rxjava-chat-android/gradle/wrapper/gradle-wrapper.jar and b/demos/reactive-grpc-chat/rxjava-chat-android/gradle/wrapper/gradle-wrapper.jar differ diff --git a/demos/reactive-grpc-chat/rxjava-chat-android/gradle/wrapper/gradle-wrapper.properties b/demos/reactive-grpc-chat/rxjava-chat-android/gradle/wrapper/gradle-wrapper.properties index a30e7346..ef9a9e05 100644 --- a/demos/reactive-grpc-chat/rxjava-chat-android/gradle/wrapper/gradle-wrapper.properties +++ b/demos/reactive-grpc-chat/rxjava-chat-android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,5 @@ -#Fri Jun 22 14:26:25 PDT 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-5.6-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip diff --git a/demos/reactive-grpc-chat/rxjava-chat-android/gradlew b/demos/reactive-grpc-chat/rxjava-chat-android/gradlew index cccdd3d5..83f2acfd 100755 --- a/demos/reactive-grpc-chat/rxjava-chat-android/gradlew +++ b/demos/reactive-grpc-chat/rxjava-chat-android/gradlew @@ -1,5 +1,21 @@ #!/usr/bin/env sh +# +# Copyright 2015 the original author or authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + ############################################################################## ## ## Gradle start up script for UN*X @@ -28,7 +44,7 @@ APP_NAME="Gradle" APP_BASE_NAME=`basename "$0"` # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS="" +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD="maximum" @@ -109,8 +125,8 @@ if $darwin; then GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" fi -# For Cygwin, switch paths to Windows format before running java -if $cygwin ; then +# For Cygwin or MSYS, switch paths to Windows format before running java +if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then APP_HOME=`cygpath --path --mixed "$APP_HOME"` CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` JAVACMD=`cygpath --unix "$JAVACMD"` diff --git a/demos/reactive-grpc-chat/rxjava-chat-android/gradlew.bat b/demos/reactive-grpc-chat/rxjava-chat-android/gradlew.bat index e95643d6..24467a14 100644 --- a/demos/reactive-grpc-chat/rxjava-chat-android/gradlew.bat +++ b/demos/reactive-grpc-chat/rxjava-chat-android/gradlew.bat @@ -1,3 +1,19 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + @if "%DEBUG%" == "" @echo off @rem ########################################################################## @rem @@ -14,7 +30,7 @@ set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME% @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS= +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" @rem Find java.exe if defined JAVA_HOME goto findJavaFromJavaHome diff --git a/pom.xml b/pom.xml index 21d5ca0b..876bb1e5 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.salesforce.servicelibs reactive-grpc - 0.11.0-SNAPSHOT + 1.0.0-SNAPSHOT pom reactive-grpc diff --git a/reactor/README.md b/reactor/README.md index e05def3e..d2f331b5 100644 --- a/reactor/README.md +++ b/reactor/README.md @@ -36,7 +36,7 @@ protobuf { artifact = "io.grpc:protoc-gen-grpc-java:${grpcVersion}" } reactor { - artifact = "com.salesforce.servicelibs:reactor-grpc:${reactiveGrpcVersion}:jdk8@jar" + artifact = "com.salesforce.servicelibs:reactor-grpc:${reactiveGrpcVersion}" } } generateProtoTasks { diff --git a/reactor/reactor-grpc-stub/pom.xml b/reactor/reactor-grpc-stub/pom.xml index ae789ec0..5851a63e 100644 --- a/reactor/reactor-grpc-stub/pom.xml +++ b/reactor/reactor-grpc-stub/pom.xml @@ -12,7 +12,7 @@ com.salesforce.servicelibs reactive-grpc - 0.11.0-SNAPSHOT + 1.0.0-SNAPSHOT ../../pom.xml 4.0.0 diff --git a/reactor/reactor-grpc-tck/pom.xml b/reactor/reactor-grpc-tck/pom.xml index 0e63bb26..1ef832dd 100644 --- a/reactor/reactor-grpc-tck/pom.xml +++ b/reactor/reactor-grpc-tck/pom.xml @@ -12,7 +12,7 @@ com.salesforce.servicelibs reactive-grpc - 0.11.0-SNAPSHOT + 1.0.0-SNAPSHOT ../../pom.xml 4.0.0 diff --git a/reactor/reactor-grpc-test-32/pom.xml b/reactor/reactor-grpc-test-32/pom.xml index 7f0c454c..b977bafa 100644 --- a/reactor/reactor-grpc-test-32/pom.xml +++ b/reactor/reactor-grpc-test-32/pom.xml @@ -5,7 +5,7 @@ reactive-grpc com.salesforce.servicelibs - 0.11.0-SNAPSHOT + 1.0.0-SNAPSHOT ../../pom.xml 4.0.0 diff --git a/reactor/reactor-grpc-test/pom.xml b/reactor/reactor-grpc-test/pom.xml index 1355f881..da302257 100644 --- a/reactor/reactor-grpc-test/pom.xml +++ b/reactor/reactor-grpc-test/pom.xml @@ -12,7 +12,7 @@ com.salesforce.servicelibs reactive-grpc - 0.11.0-SNAPSHOT + 1.0.0-SNAPSHOT ../../pom.xml 4.0.0 diff --git a/reactor/reactor-grpc/pom.xml b/reactor/reactor-grpc/pom.xml index d0896e57..bcc82c18 100644 --- a/reactor/reactor-grpc/pom.xml +++ b/reactor/reactor-grpc/pom.xml @@ -12,7 +12,7 @@ com.salesforce.servicelibs reactive-grpc - 0.11.0-SNAPSHOT + 1.0.0-SNAPSHOT ../../pom.xml 4.0.0 @@ -39,23 +39,45 @@ - org.springframework.boot - spring-boot-maven-plugin - 1.5.8.RELEASE + org.apache.maven.plugins + maven-shade-plugin + 3.2.1 + package - repackage + shade + + + + org.apache.maven.plugins + maven-jar-plugin + 2.4 - com.salesforce.reactorgrpc.ReactorGrpcGenerator - JAR - jdk8 - true + + + true + com.salesforce.reactorgrpc.ReactorGrpcGenerator + + + + + com.salesforce.servicelibs + canteen-maven-plugin + 1.0.0 + + + + bootstrap + + + + \ No newline at end of file diff --git a/rx-java/README.md b/rx-java/README.md index c92afe3f..d7e1d8a2 100644 --- a/rx-java/README.md +++ b/rx-java/README.md @@ -36,7 +36,7 @@ protobuf { artifact = "io.grpc:protoc-gen-grpc-java:${grpcVersion}" } rxgrpc { - artifact = "com.salesforce.servicelibs:rxgrpc:${reactiveGrpcVersion}:jdk8@jar" + artifact = "com.salesforce.servicelibs:rxgrpc:${reactiveGrpcVersion}" } } generateProtoTasks { diff --git a/rx-java/rxgrpc-stub/pom.xml b/rx-java/rxgrpc-stub/pom.xml index 621f8505..0d72cecd 100644 --- a/rx-java/rxgrpc-stub/pom.xml +++ b/rx-java/rxgrpc-stub/pom.xml @@ -12,7 +12,7 @@ com.salesforce.servicelibs reactive-grpc - 0.11.0-SNAPSHOT + 1.0.0-SNAPSHOT ../../pom.xml 4.0.0 diff --git a/rx-java/rxgrpc-tck/pom.xml b/rx-java/rxgrpc-tck/pom.xml index e58108ad..5195939c 100644 --- a/rx-java/rxgrpc-tck/pom.xml +++ b/rx-java/rxgrpc-tck/pom.xml @@ -12,7 +12,7 @@ com.salesforce.servicelibs reactive-grpc - 0.11.0-SNAPSHOT + 1.0.0-SNAPSHOT ../../pom.xml 4.0.0 diff --git a/rx-java/rxgrpc-test/pom.xml b/rx-java/rxgrpc-test/pom.xml index 926a1e95..cef3d2c7 100644 --- a/rx-java/rxgrpc-test/pom.xml +++ b/rx-java/rxgrpc-test/pom.xml @@ -12,7 +12,7 @@ com.salesforce.servicelibs reactive-grpc - 0.11.0-SNAPSHOT + 1.0.0-SNAPSHOT ../../pom.xml 4.0.0 diff --git a/rx-java/rxgrpc/pom.xml b/rx-java/rxgrpc/pom.xml index c7d7218d..c0dca047 100644 --- a/rx-java/rxgrpc/pom.xml +++ b/rx-java/rxgrpc/pom.xml @@ -12,7 +12,7 @@ com.salesforce.servicelibs reactive-grpc - 0.11.0-SNAPSHOT + 1.0.0-SNAPSHOT ../../pom.xml 4.0.0 @@ -39,23 +39,45 @@ - org.springframework.boot - spring-boot-maven-plugin - 1.5.8.RELEASE + org.apache.maven.plugins + maven-shade-plugin + 3.2.1 + package - repackage + shade + + + + org.apache.maven.plugins + maven-jar-plugin + 2.4 - com.salesforce.rxgrpc.RxGrpcGenerator - JAR - jdk8 - true + + + true + com.salesforce.rxgrpc.RxGrpcGenerator + + + + + com.salesforce.servicelibs + canteen-maven-plugin + 1.0.0 + + + + bootstrap + + + + \ No newline at end of file