Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ ProjectGenerator(
typeOfStringResources = TypeOfStringResources.LARGE,
layers = 5,
generateUnitTest = true,
gradle = GradleWrapper(Gradle.fromValue("9.6.0")),
gradle = GradleWrapper(Gradle.fromValue("9.6.1")),
projectRootPath = file.path
).write()

Expand Down Expand Up @@ -201,11 +201,11 @@ If enabled, each module will generate n unit tests, where n is the argument `cla
## Gradle
Gradle used, versions supported:
* Gradle 9.x
* 9.6.0
* 9.5.0
* 9.6.1
* 9.5.1
* 9.4.1
* Gradle 8.x
* 8.14.4
* 8.14.5
* 8.13
* 8.12.1
* The newest bundled version is the default.
Expand All @@ -219,7 +219,7 @@ Gradle used, versions supported:
## Versions
Example output versions.yaml:
```yaml
gradle: 9.6.0
gradle: 9.6.1
project:
develocity: 4.1
jdk: 23
Expand Down
Binary file modified project-generator/src/main/resources/gradle_8_12_1.zip
Binary file not shown.
Binary file modified project-generator/src/main/resources/gradle_8_13.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified project-generator/src/main/resources/gradle_9_4_1.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
9.6.0
9.5.0
9.6.1
9.5.1
9.4.1
8.14.4
8.14.5
8.13
8.12.1
5 changes: 4 additions & 1 deletion scripts/update_gradle_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ PY
}

export TARGET_MAJORS MINORS_PER_MAJOR VERSIONS_FILE
mapfile -t versions < <(fetch_versions)
versions=()
while IFS= read -r version; do
versions+=("$version")
done < <(fetch_versions)

if [[ "${#versions[@]}" -eq 0 ]]; then
echo "No stable Gradle versions found from $VERSIONS_ENDPOINT" >&2
Expand Down
Loading