Skip to content

Commit 15a1b64

Browse files
committed
The 0.8.7 release
1 parent 7078c3e commit 15a1b64

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ For more information about the Protobuf Compiler, please refer to
2020
[Google Developers Site](https://developers.google.com/protocol-buffers/docs/reference/java-generated?csw=1).
2121

2222
## Latest Version
23-
The latest version is ``0.8.6``. It requires at least __Gradle 2.12__ and __Java 8__.
23+
The latest version is ``0.8.7``. It requires at least __Gradle 2.12__ and __Java 8__.
2424
It is available on Maven Central. To add dependency to it:
2525
```gradle
2626
buildscript {
2727
repositories {
2828
mavenCentral()
2929
}
3030
dependencies {
31-
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.6'
31+
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.7'
3232
}
3333
}
3434
```
@@ -43,7 +43,7 @@ buildscript {
4343
mavenLocal()
4444
}
4545
dependencies {
46-
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.6-SNAPSHOT'
46+
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.8-SNAPSHOT'
4747
}
4848
}
4949
```
@@ -86,7 +86,7 @@ The order of the plugins doesn't matter:
8686

8787
```gradle
8888
plugins {
89-
id "com.google.protobuf" version "0.8.6"
89+
id "com.google.protobuf" version "0.8.7"
9090
id "java"
9191
}
9292
```

build.gradle

+4-6
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ apply plugin: 'com.gradle.plugin-publish'
1919
apply plugin: 'com.github.ben-manes.versions'
2020

2121
group = 'com.google.protobuf'
22-
version = '0.8.7-SNAPSHOT'
22+
version = '0.8.7'
2323

2424
ext.isReleaseVersion = !version.endsWith("SNAPSHOT")
2525

@@ -186,14 +186,12 @@ pluginBundle {
186186
}
187187
}
188188

189-
// Releases must be built on Java 1.7. Building on Java 1.8 will make the
190-
// plugin runnable only on Java 1.8.
191-
// See https://github.com/grpc/grpc-java/issues/805
189+
// Releases must be built on Java 1.8.
192190
tasks.create("checkJavaVersion").doLast {
193191
JavaVersion javaVersion = JavaVersion.current()
194-
if (!javaVersion.isJava7()) {
192+
if (!javaVersion.isJava8()) {
195193
throw new GradleException(
196-
"The plugin must be published under Java 1.7 but ${javaVersion} is found")
194+
"The plugin must be published under Java 1.8 but ${javaVersion} is found")
197195
}
198196
}
199197
[uploadArchives, publishPlugins]*.dependsOn checkJavaVersion

0 commit comments

Comments
 (0)