JetBrains / JetBrains/kotless

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

Open
#101 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
1.2k
Forks
54
PR merge metrics
No merged PRs in 30d

Description

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.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the error in a brand-new project while enabling GraalVM support, starting from the Gradle configuration that invokes kotless(). Trace why the kotless() method is unavailable on the root project; done means the generated project applies the configuration without the reported MissingMethodException.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.