Skip to content

Commit

Permalink
fix: lazy loading properties
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawSwiderski committed Sep 23, 2024
1 parent 5f4ab8e commit e38da56
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ All notable changes to this project will be documented in this file.

## Unreleased

### Added

### Changed

### Removed
- Fixed lazy loading plugin properties.

## 1.1.0 - 2024-09-23

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,15 @@ open class HelmPluginExtension @Inject constructor(
val architecture: Property<String> = objects.property<String>().convention(arch())

val helmPackage: Property<String> = objects.property<String>().convention(
"helm-v${helmVersion.get()}-${operatingSystem.get()}-${architecture.get()}.tar.gz"
providerFactory.provider {
"helm-v${helmVersion.get()}-${operatingSystem.get()}-${architecture.get()}.tar.gz"
}
)

val helmDownloadUrl: Property<String> = objects.property<String>().convention(
"https://get.helm.sh/${helmPackage.get()}"
providerFactory.provider {
"https://get.helm.sh/${helmPackage.get()}"
}
)

val helmExec: RegularFileProperty = objects.fileProperty().convention(
Expand Down

0 comments on commit e38da56

Please sign in to comment.