We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The license lambda requires a min version of gradle 4.10 when using kotlin to work as documented. See SAM conversion for Kotlin functions
SAM conversion for Kotlin functions
Action<LicenseSpec> can't be converted automatically and results in this error:
Action<LicenseSpec>
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.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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:Workaround:
The workaround is less appealing but it works. Maybe this helps someone else running into this problem.
The text was updated successfully, but these errors were encountered: