Remove over-complicated launch and tasks configuration in favor of Gradle plugin

Starting run/debug tasks with the plugin works out of the box;
one just has to avoid the default “Run and Debug” button.
This commit is contained in:
Tobi Schäfer 2024-06-15 18:01:30 +02:00
parent 6b694a83ed
commit c1ad40ef72
Signed by: tobi
GPG key ID: 91FAE6FE2EBAC4C8
3 changed files with 2 additions and 113 deletions

46
.vscode/launch.json vendored
View file

@ -1,46 +0,0 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Current File",
"request": "launch",
"mainClass": "${file}"
},
{
"type": "java",
"name": "Run with Gradle",
"request": "launch",
"mainClass": "helma.main.Server",
"projectName": "helma",
"preLaunchTask": "Run with Gradle",
"console": "internalConsole",
"stopOnEntry": false
},
{
"name": "Debug with Gradle",
"type": "java",
"request": "attach",
"hostName": "localhost",
"port": 5005,
"preLaunchTask": "Debug with Gradle"
},
{
"type": "java",
"name": "Commandline",
"request": "launch",
"mainClass": "helma.main.launcher.Commandline",
"projectName": "launcher"
},
{
"type": "java",
"name": "Main",
"request": "launch",
"mainClass": "helma.main.launcher.Main",
"projectName": "launcher"
}
]
}