You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
application {
// Define the main class for the application.
mainClass.set("com.example." + project.findProperty("fileToRun").toString() + "Kt")
}
Expected behavior
the input variable should be dereferenced in the resulting command's arguments
Output from "Gradle for Java"
> :app:run
Error: Could not find or load main class com.example.${input:fileToRun}Kt
Caused by: java.lang.ClassNotFoundException: com.example.${input:fileToRun}Kt
Does the bug still exist if you disable all other extensions?
Yes
The text was updated successfully, but these errors were encountered:
Extension Name: vscode-gradle
Extension Version: v3.12.4
OS Version: macOS Monterey
VSCode version: 1.70.2
Describe the bug
PR #1035 doesn't seem to have included support for input variables
To Reproduce
Define a gradle workflow and reference an input variable from the args, e.g.
A possible build.gradle.kts might include...
Expected behavior
the input variable should be dereferenced in the resulting command's arguments
Output from "Gradle for Java"
Does the bug still exist if you disable all other extensions?
Yes
The text was updated successfully, but these errors were encountered: