Skip to content

Commit 7500e8c

Browse files
committed
Release v2.1.0 - compatibility with Gradle 7+
1 parent 0756607 commit 7500e8c

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This is a tiny extension for the [Gradle Wrapper](https://docs.gradle.org/current/userguide/gradle_wrapper.html) that provides a similar `groovyw` utility script to go along with `gradlew`, using the Groovy embedded with the associated version of Gradle to instead execute a plain `.groovy` script.
44

5-
Executing either `gradlew` or `groovyw` for the first time for a given version will download the Gradle distribution normally. Either script will use the same local files.
5+
Executing either `gradlew` or `groovyw` (preceded with `./` if needed) for the first time for a given version will download the Gradle distribution normally. Either script will use the same local files.
66

77
This should make using a mix of Gradle and Groovy scripts in a project very convenient as you do not need to manually install Gradle *or* Groovy, and both will be using the same version of Groovy.
88

@@ -20,13 +20,19 @@ Pick one of the below options:
2020

2121
## Versions
2222

23+
### v2.0
24+
2325
As of Gradle v6.4 the code innards the Groovy Wrapper relies on finally changed - this was an expected future and just a question of time.
2426

2527
As a consequence a v2 of this wrapper has been prepared and built, and can be used with Gradle 6.4 and onwards, to the next unknown future point of breakage.
2628

2729
However, that may not work with *older* Gradles, so you may have to use one or the other.
2830

29-
Additionally the 6.4 Gradle no longer ships with `commons-io` so we can't well put that on the Groovy Wrapper's classpath anymore. Sorry [#2](https://github.com/MovingBlocks/groovy-wrapper/issues/2) !
31+
Additionally, the 6.4 Gradle no longer ships with `commons-io` so we can't well put that on the Groovy Wrapper's classpath anymore. Sorry [#2](https://github.com/MovingBlocks/groovy-wrapper/issues/2) !
32+
33+
### v2.1
34+
35+
This bump was needed as Gradle v7 changed how Groovy is embedded, now in multiple modular jars. It should be backwards compatible.
3036

3137
## Gradle
3238

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apply plugin: 'java'
22

3-
version = '2.0.0'
3+
version = '2.1.0'
44

55
dependencies {
66
compile files('gradle/wrapper/gradle-wrapper.jar')

gradle/wrapper/groovy-wrapper.jar

220 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)