EmmyLua / IntelliJ-EmmyLua

Lua IDE/Debugger Plugin for IntelliJ IDEA
https://emmylua.github.io
Apache License 2.0
1.72k stars 285 forks source link

std is missing in my build #580

Closed use4me closed 3 months ago

use4me commented 3 months ago

Environment(环境)

name version
IDEA version [2023.3.6]
EmmyLua version [1.4.11]
OS [Debian 12]

What are the steps to reproduce this issue?(重现步骤?)

  1. Download the main branch
  2. Execute ./gradlew buildPlugin
  3. Add/Update the plugin in IDEA

What happens?(出现什么问题?)

When I compile the plugin, I don't have the std in the build or the std doesn't work.

What were you expecting to happen?(期望?)

I was expecting to have std in the build.

Any logs, error output, etc?(有没有什么log, error输出?)

I dont have any error

> Task :bunch
HEAD is now at d0c7cfa8 build for 241

> Task :verifyPluginConfiguration
[gradle-intellij-plugin :verifyPluginConfiguration] The following plugin configuration issues were found:
- The 'since-build' property is lower than the target IntelliJ Platform major version: 232 < 241.
- The dependency on the Kotlin Standard Library (stdlib) is automatically added when using the Gradle Kotlin plugin and may conflict with the version provided with the IntelliJ Platform, see: https://jb.gg/intellij-platform-kotlin-stdlib
See: https://jb.gg/intellij-platform-versions

> Task :downloadEmmyDebugger
Download https://github.com/EmmyLua/EmmyLuaDebugger/releases/download/1.3.0/darwin-x64.zip
Download https://github.com/EmmyLua/EmmyLuaDebugger/releases/download/1.3.0/linux-x64.zip
Download https://github.com/EmmyLua/EmmyLuaDebugger/releases/download/1.3.0/darwin-arm64.zip
Download https://github.com/EmmyLua/EmmyLuaDebugger/releases/download/1.3.0/win32-x64.zip
Download https://github.com/EmmyLua/EmmyLuaDebugger/releases/download/1.3.0/win32-x86.zip

> Task :installEmmyDebugger
Execution optimizations have been disabled for task ':installEmmyDebugger' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: '~/IdeaProjects/IntelliJ-EmmyLua/src/main/resources'. Reason: Task ':patchPluginXml' uses this output of task ':installEmmyDebugger' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  - Gradle detected a problem with the following location: '~/IdeaProjects/IntelliJ-EmmyLua/src/main/resources'. Reason: Task ':processResources' uses this output of task ':installEmmyDebugger' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3.2/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.

BUILD SUCCESSFUL in 3s
19 actionable tasks: 7 executed, 12 up-to-date

Any other comments?(其它说明)

I think it's just me who doesn't know how. Can you explain how to do it? I've tried several different methods. I've updated jave, gradle, tried to modify the build.gradle.kts, etc....

use4me commented 3 months ago

Sorry, I'm stupid. I took the wrong output folder.