I'm trying out gradle script kotlin and i've hit a...
# gradle
e
I'm trying out gradle script kotlin and i've hit a few snags trying to customize some tasks. First off, trying to customize the wrapper task, I thought this would work but is doesn't
Copy code
apply {
    plugin<WrapperPlugin>()
}

configure<Wrapper> {
    version = "3.0"
    distributionUrl = "<http://artifactory.local/artifactory/gradle-distributions/gradle-$gradleVersion-all.zip>"
}
Copy code
Error:Extension of type 'Wrapper' does not exist. Currently registered extension types: [DefaultExtraPropertiesExtension, DefaultArtifactPublicationSet_Decorated, ReportingExtension_Decorated, SpringBootPluginExtension_Decorated, DependencyManagementExtension_Decorated]