Skip to content

Commit

Permalink
0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fstaudt committed Oct 19, 2024
1 parent 0db3f5b commit 37e6a8e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
27 changes: 26 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
## 0.9.0 - Oct 19, 2024

- :sparkles: reuse downloaded archive when it is still available
- :sparkles: bump default Hugo version to 0.136.2
- :sparkles: use Gradle provider API in all tasks
- :sparkles: reuse download task output to configure task dependencies lazily
- :construction_worker: bump Gradle to 8.10.2

### Breaking changes

Use of Gradle provider API in all tasks enforce usage of setters for properties for Gradle versions below 8.2.\
For Gradle versions above or equal to 8.2, tasks and extension properties can still be configured by assignment.\
More info: https://docs.gradle.org/current/userguide/lazy_configuration.html#lazy_properties

```kotlin
hugo {
// version = "0.93.0" // previously used - still OK for Gradle version above or equal to 8.2
version.set("0.93.0") // required setter for Gradle version below 8.2
}
tasks.hugoBuild {
// outputDirectory = File("$buildDir/hugo/publish") // previously used - still OK for Gradle version above or equal to 8.2
outputDirectory.set(File("$buildDir/hugo/publish")) // required setter for Gradle version below 8.2
}
```

## 0.8.0 - Jun 15, 2024

- :sparkles: bump default Hugo version to 0.127.0
Expand All @@ -12,7 +37,7 @@ Gradle plugin requires at least Java 17.

- :sparkles: bump default Hugo version to 0.124.1
- :construction_worker: bump Gradle to 8.7
- :white_check_mark: test against Gradle 7.6.4 and 8.0
- :white_check_mark: test against Gradle 7.6.4 and 8.0

## 0.7.0 - Dec 29, 2023

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ tasks.hugoBuild {

Download Hugo binary for the current OS (Windows, macOS or Linux).

By default, downloaded version is Hugo extended v0.117.0.\
By default, downloaded version is Hugo extended v0.136.2.\
Downloaded version can be configured in [Extension configuration](#extension-configuration).

This task is a dependency of the previous tasks.
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group=io.github.fstaudt.hugo
version=0.8.0
version=0.9.0
gradleWrapperVersion=8.10.2
org.gradle.configuration-cache=true
org.gradle.caching=true

0 comments on commit 37e6a8e

Please sign in to comment.