Skip to content

Commit

Permalink
Merge pull request #78 from unbroken-dome/fix/73-download-client-groo…
Browse files Browse the repository at this point in the history
…vy-syntax

Fix Groovy syntax in HelmDownloadClient
  • Loading branch information
tkrullmann authored Sep 24, 2020
2 parents 52cbdf0 + d203f5d commit 5d68da6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import org.unbrokendome.gradle.plugins.helm.util.GRADLE_VERSION_6_2
import org.unbrokendome.gradle.plugins.helm.util.booleanProviderFromProjectProperty
import org.unbrokendome.gradle.plugins.helm.util.property
import org.unbrokendome.gradle.plugins.helm.util.providerFromProjectProperty
import javax.inject.Inject


/**
Expand Down Expand Up @@ -72,8 +73,8 @@ internal interface HelmDownloadClientInternal : HelmDownloadClient {
}


internal class DefaultHelmDownloadClient
constructor(
internal open class DefaultHelmDownloadClient
@Inject constructor(
private val project: Project
) : HelmDownloadClient, HelmDownloadClientInternal {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private open class DefaultHelmExtension
ConfigurableHelmServerOptions by HelmServerOptionsHolder(objects).applyConventions(project) {

final override val downloadClient: HelmDownloadClient =
DefaultHelmDownloadClient(project)
objects.newInstance(DefaultHelmDownloadClient::class.java, project)


final override val executable: Property<String> =
Expand Down

0 comments on commit 5d68da6

Please sign in to comment.