Skip to content
New issue

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

'kotless' cannot be applied to '(groovy.lang.Closure)' #101

Open
itsandreramon opened this issue Mar 15, 2021 · 3 comments
Open

'kotless' cannot be applied to '(groovy.lang.Closure)' #101

itsandreramon opened this issue Mar 15, 2021 · 3 comments

Comments

@itsandreramon
Copy link

After creating a brand new project and wanting to enable GraalVM support I get the following error message:

Caused by: org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: Could not find method kotless() for arguments [build_dadsq1u39lufnoj95kr6apu66$_run_closure1@685ce999] on root project 'new-func' of type org.gradle.api.Project.
@itsandreramon
Copy link
Author

It seems that you have to use Kotlin Gradle Scripts.. Any idea how to change it to Groovy DSL? At least add a note to the docs

@TanVD
Copy link
Member

TanVD commented Mar 24, 2021

Hm, it is possible, but I would not recommend using Groovy with Kotless :) Is kts no go for you?

@itsandreramon
Copy link
Author

Its terrible slow for me :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants