Skip to content

Commit

Permalink
bumped version to 3.2.0 and updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
evant committed Jun 27, 2015
1 parent a1aa8b6 commit 409f1bb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Usage
}
dependencies {
classpath 'me.tatarka:gradle-retrolambda:3.1.0'
classpath 'me.tatarka:gradle-retrolambda:3.2.0'
}
}
Expand All @@ -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"
}
```

Expand All @@ -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
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repositories {
}

group = 'me.tatarka'
version = '3.2.0-SNAPSHOT'
version = '3.2.0'

sourceCompatibility = '1.6'

Expand Down

0 comments on commit 409f1bb

Please sign in to comment.