aboutsummaryrefslogtreecommitdiff
path: root/RELEASING.md
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2016-06-24 18:18:06 -0700
committerEric Anderson <ejona@google.com>2016-07-11 09:20:25 -0700
commitd7bf67e01f9aead16983de2a4500bb3f2b1dd00c (patch)
treea1b21fddae75d4eb98e961704e505a96791c6ba0 /RELEASING.md
parent3c03eb79ecb4ee75054d235368cd3d2ff73e5147 (diff)
downloadgrpc-grpc-java-d7bf67e01f9aead16983de2a4500bb3f2b1dd00c.tar.gz
examples: Provide Maven and Gradle build files
The examples are no longer part of the normal build, although they are built with Travis. The examples now include their own copy of the gradle wrapper to ease usage from IDEs which can now properly detect the correct version of gradle to use. The build files were generated using "gradle init" and "mvn archetype:generate" and then modified following our README. Fixes #1414
Diffstat (limited to 'RELEASING.md')
-rw-r--r--RELEASING.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/RELEASING.md b/RELEASING.md
index 12df20b3c..7b362e447 100644
--- a/RELEASING.md
+++ b/RELEASING.md
@@ -77,6 +77,7 @@ would be used to create all `v0.7` tags (e.g. `v0.7.0`, `v0.7.1`).
# Change version to next minor (and keep -SNAPSHOT)
$ sed -i 's/[0-9]\+\.[0-9]\+\.[0-9]\+\(.*CURRENT_GRPC_VERSION\)/'$MAJOR.$((MINOR+1)).0'\1/' \
build.gradle android-interop-testing/app/build.gradle \
+ examples/build.gradle examples/pom.xml \
examples/android/app/build.gradle
$ ./gradlew build
$ git commit -a -m "Start $MAJOR.$((MINOR+1)).0 development cycle"
@@ -96,6 +97,7 @@ would be used to create all `v0.7` tags (e.g. `v0.7.0`, `v0.7.1`).
# Change version to remove -SNAPSHOT
$ sed -i 's/-SNAPSHOT\(.*CURRENT_GRPC_VERSION\)/\1/' \
build.gradle android-interop-testing/app/build.gradle \
+ examples/build.gradle examples/pom.xml \
examples/android/app/build.gradle
$ ./gradlew build
$ git commit -a -m "Bump version to $MAJOR.$MINOR.$PATCH"
@@ -108,6 +110,7 @@ would be used to create all `v0.7` tags (e.g. `v0.7.0`, `v0.7.1`).
# Change version to next patch and add -SNAPSHOT
$ sed -i 's/[0-9]\+\.[0-9]\+\.[0-9]\+\(.*CURRENT_GRPC_VERSION\)/'$MAJOR.$MINOR.$((PATCH+1))-SNAPSHOT'\1/' \
build.gradle android-interop-testing/app/build.gradle \
+ examples/build.gradle examples/pom.xml \
examples/android/app/build.gradle
$ ./gradlew build
$ git commit -a -m "Bump version to $MAJOR.$MINOR.$((PATCH+1))-SNAPSHOT"