From 409f1bb6b2698c2e68eec90d09d8a0f5d562a5d3 Mon Sep 17 00:00:00 2001 From: Evan Tatarka Date: Sat, 27 Jun 2015 13:57:24 -0400 Subject: [PATCH] bumped version to 3.2.0 and updated README --- CHANGELOG.md | 8 +++++++- README.md | 18 +++++++++--------- build.gradle | 2 +- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a0fe0e9..df2a615 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,10 @@ -### 3.1.0 +### 3.2.0 +- Support for targeting java 5 with retrolambda. +- Don't depend on the android gradle plugin being on the classpath when using in pure java projects. +- Delay calculating classpath for retrolambda. This fixes missing aar libs added by the android +gradle plugin. + +#### 3.1.0 - Major refactoring of android plugin. The method for modifying the javaCompile task is now *way* less hackey. In fact, it is much closer to the original way that it was done. I had originally diff --git a/README.md b/README.md index 98de363..a0a1de9 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Usage } dependencies { - classpath 'me.tatarka:gradle-retrolambda:3.1.0' + classpath 'me.tatarka:gradle-retrolambda:3.2.0' } } @@ -39,7 +39,7 @@ Usage alternativly, you can use the new plugin syntax for gradle `2.1+` ```groovy plugins { - id "me.tatarka.retrolambda" version "3.1.0" + id "me.tatarka.retrolambda" version "3.2.0" } ``` @@ -52,10 +52,10 @@ Configuration ------------- Configuration is entirely optional, the plugin will by default pick up the -`JAVA6_HOME`/`JAVA7_HOME`/`JAVA8_HOME` environment variables. It's also smart +`JAVA5_HOME`/`JAVA6_HOME`/`JAVA7_HOME`/`JAVA8_HOME` environment variables. It's also smart enough to figure out what version of java you are running gradle with. For example, if you have java8 set as your default, you only need to define -`JAVA6_HOME`/`JAVA7_HOME`. If you need to though, you can add a block like the +`JAVA5_HOME`/`JAVA6_HOME`/`JAVA7_HOME`. If you need to though, you can add a block like the following to configure the plugin: ```groovy @@ -70,14 +70,14 @@ retrolambda { ``` - `jdk` Set the path to the java 8 jdk. The default is found using the - environment variable `JAVA8_HOME`. If you a running gradle with java 6 or 7, + environment variable `JAVA8_HOME`. If you a running gradle with java 5, 6 or 7, you must have either `JAVA8_HOME` or this property set. -- `oldJdk` Sets the path to the java 6 or 7 jdk. The default is found using the - environment variable `JAVA6_HOME`/`JAVA7_HOME`. If you are running gradle +- `oldJdk` Sets the path to the java 5, 6 or 7 jdk. The default is found using the + environment variable `JAVA5_HOME`/`JAVA6_HOME`/`JAVA7_HOME`. If you are running gradle with java 8 and wish to run unit tests, you must have either - `JAVA6_HOME`/`JAVA7_HOME` or this property set. This is so the tests can be + `JAVA5_HOME`/`JAVA6_HOME`/`JAVA7_HOME` or this property set. This is so the tests can be run with the correct java version. -- `javaVersion` Set the java version to compile to. The default is 6. Only 6 or +- `javaVersion` Set the java version to compile to. The default is 6. Only 5, 6 or 7 are accepted. - `include 'Debug', 'Release'` Sets which sets/variants to run through retrolambda. The default is all of them. diff --git a/build.gradle b/build.gradle index 937377a..132b8a3 100644 --- a/build.gradle +++ b/build.gradle @@ -24,7 +24,7 @@ repositories { } group = 'me.tatarka' -version = '3.2.0-SNAPSHOT' +version = '3.2.0' sourceCompatibility = '1.6'