From b7ba080f8486b53556c681883ec2572c2751e194 Mon Sep 17 00:00:00 2001 From: Kun Zhang Date: Tue, 26 Jan 2016 13:58:55 -0800 Subject: [PATCH] Prepare for 0.7.4 release. --- README.md | 12 ++++++------ build.gradle | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index da79cfaa..7eca801b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ probably reading the documentation for the __HEAD revision__, which may not apply to the released version you are using. To read the documentation of a released version, you will need to switch to the corresponding release tag, -e.g., [v0.7.3](https://github.com/google/protobuf-gradle-plugin/tree/v0.7.3). +e.g., [v0.7.4](https://github.com/google/protobuf-gradle-plugin/tree/v0.7.4). # Protobuf Plugin for Gradle The Gradle plugin that compiles Protocol Buffer (aka. Protobuf) definition @@ -17,15 +17,15 @@ For more information about the Protobuf Compiler, please refer to [Google Developers Site](https://developers.google.com/protocol-buffers/docs/reference/java-generated?csw=1). ## Latest Version -The latest version is ``0.7.3``. It is available on Maven Central. To add -dependency to it: +The latest version is ``0.7.4``. It requires at least Gradle 2.4 and Java 7. +It is available on Maven Central. To add dependency to it: ```gradle buildscript { repositories { mavenCentral() } dependencies { - classpath 'com.google.protobuf:protobuf-gradle-plugin:0.7.3' + classpath 'com.google.protobuf:protobuf-gradle-plugin:0.7.4' } } ``` @@ -39,7 +39,7 @@ buildscript { } } dependencies { - classpath 'com.google.protobuf:protobuf-gradle-plugin:0.7.4-SNAPSHOT' + classpath 'com.google.protobuf:protobuf-gradle-plugin:0.7.5-SNAPSHOT' } } ``` @@ -53,7 +53,7 @@ buildscript { mavenLocal() } dependencies { - classpath 'com.google.protobuf:protobuf-gradle-plugin:0.7.4-SNAPSHOT' + classpath 'com.google.protobuf:protobuf-gradle-plugin:0.7.5-SNAPSHOT' } } ``` diff --git a/build.gradle b/build.gradle index 495207db..676a075c 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ apply plugin: "com.gradle.plugin-publish" apply plugin: 'signing' group = 'com.google.protobuf' -version = '0.7.4-SNAPSHOT' +version = '0.7.4' ext.isReleaseVersion = !version.endsWith("SNAPSHOT") @@ -102,8 +102,8 @@ if (!gradle.startParameter.taskNames.intersect(['publishPlugins'])) { } } -targetCompatibility = 1.6 -sourceCompatibility = 1.6 +targetCompatibility = 1.7 +sourceCompatibility = 1.7 uploadArchives { repositories {