-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
The license lambda requires a min version of gradle 4.10 when using kotlin to work as documented. See SAM conversion for Kotlin functions
Action<LicenseSpec> can't be converted automatically and results in this error:
license {
^ Type mismatch: inferred type is () -> Unit but Action<LicenseSpec> was expected
Workaround:
license(Action{
name = "Apache License, Version 2.0"
// ...
})
The workaround is less appealing but it works. Maybe this helps someone else running into this problem.
Metadata
Metadata
Assignees
Labels
No labels